Featured and Trending Post Pro

Getting started with Featured and Trending Post Pro

Featured and Trending Post Pro adds a sub menu tab in WP Admin side with the name “Posts -> How it works”. In this tab you will find how plugin works.

Shortcode Builder codes

Check the Result of any Shortcode with Preview using “Shortcode Builder
Please Go To Admin Menu -> Featured and Trending Post Pro -> Shortcode Builder.

Gutenberg Blocks

Please go to page or post and add “Gutenberg Blocks“.

How to Display and Shortcodes

Display a Designed post is very simple. Just go to Pages-> add New and add page title ie Feature post OR Trending Post OR Front page and add shortcode.

Featured and Trending Post Pro contain eight shortcodes.

Feature Post Grid View

[fpc_post_grid]

Feature Post Slider View

[fpc_post_slider]

Feature Post GridBox View

[fpc_post_block]

Feature Post Carousel View

[fpc_post_carousel]

Trending Post Slider View

[wtpsw_popular_post]

Trending Post GridBox View

[wtpsw_gridbox]

Trending Post Carousel View

[wtpsw_carousel]

Following are Featured Grid Parameters:

[fpc_post_grid]

  • Design: [fpc_post_grid design="design-1"]
    Select design for featured post. where designs are design-1 to design -20.
  • Grid: [fpc_post_grid grid="3"]
    Display post in a Grid/Column wise. values are 1, 2, 3 and 4.
  • Limit: [fpc_post_grid limit="10"]
    Display number of featured posts. You can see all posts by limit=”-1″.
  • Image Height: [fpc_post_grid image_height="500"]
    Control featured post image height. Enter numeric value.
  • Media Size : [fpc_post_grid media_size="large"]
    Set post media size. By default value is “large”. Options are “full, medium, thumbnail OR large”.
  • Link Target : [fpc_post_grid link_target="blank"]
    Open link in same window OR in new tab .Values are “self ” (same window) OR “Blank” (new tab) .
  • Show Author : [fpc_post_grid show_author="true"]
    Display featured post Author or not. By default value is “true”. values are “true” OR “false”.
  • Show Date : [fpc_post_grid show_date="false"]
    Display featured post date or not. By default value is “true”. Options are “true” OR “false”.
  • Show Views : [fpc_post_grid show_views="false"]
    Display Views. Options are “true” OR “false”.
  • Post Type : [fpc_post_grid post_type="post"]
    Enter registered custom post type name to enable custom post type support.
  • Display Specific Posts : [fpc_post_grid posts="1,5,6"]
    Display specific posts. You can pass multiple ids by comma separated
  • Taxonomy : [fpc_post_grid taxonomy="category"]
    Enter registered custom taxonomy name to enable custom taxonomy support.
  • Category : [fpc_post_grid category="40,50"]
    Display featured post categories wise. You can add multiple Ids with comma separated.
  • Show Category Name : [fpc_post_grid show_category_name="true"]
    Display featured post category name. values are “true” OR “false”, default value is “true”.
  • Display Child Category : [fpc_post_grid include_cat_child="true"]
    Display child category. values are “true” OR “false”.
  • Exclude Category : [fpc_post_grid exclude_cat="1,5,6"]
    Exclude post categories which you do not want to display. You can pass category ids by comma separated.
  • Exclude Post : [fpc_post_grid hide_post="1,5,6"]
    Exclude some post which you do not want to display. You can enter multiple ids by comma separated.
  • Include Author : [fpc_post_grid include_author="6,5,8"]
    Display posts of Particular author . You can pass multiple author ids by comma separated.
  • Exclude Author : [fpc_post_grid exclude_author="6,5,8"]
    Exclude some post of particular author which you do not want to display. You can pass multiple ids by comma separated.
  • Order : [fpc_post_grid order="DESC"]
    Display featured post by order. Values are “ASC” OR “DESC”.
  • Orderby : [fpc_post_grid orderby="post_date"]
    Display featured post in your order. Values are “post_date”, “modified”, “title”, “name” (Post Slug, “ID”, “rand”, “menu_order”, “comment_count”.
  • Pagination : [fpc_post_grid pagination="true"]
    Show/Hide pagination links. By default value is “true”. Values are “true” OR “false”.
  • Pagination Type : [fpc_post_grid pagination_type="numeric"]
    Pagination type works when pagination set to true.Values are “Numeric” and “Previous-next”.
  • Show Content : [fpc_post_grid show_content="false"]
    Display content.
  • Content Words Limit : [fpc_post_grid content_words_limit="20"]
    Control content words limit.
  • Content Tail : [fpc_post_grid content_tail="..."]
    Display dots after the post content as continue reading.
  • Show Read More : [fpc_post_grid show_read_more="true"]
    Display read more.
  • Read More Text : [fpc_post_grid read_more_text="Read More"]
    Enter read more text.
  • Query Offset : [fpc_post_grid query_offset="5"]
    This will hide first five post. E.g I have set offset 5 then it will skip first five post.
    Note: This will not work with pagination and limit=”-1″ parameter.
  • Extra Class : [fpc_post_grid extra_class=""]
    Enter extra class.
    Note: Extra class added as parent so using extra class you customize your design.

Following are Featured Post Slider Parameters:

[fpc_post_slider]

  • Design : [fpc_post_slider design="design-1"]
    Select design for featured post. Designs are design-1 to design-20.
  • Limit : [fpc_post_slider limit="10"]
    Display latest 10 featured post. You can display all post by set limit=”-1″.
  • Media Size : [fpc_post_slider media_size="large"]
    Set post media size. By default value is “large”. Values are “full, medium, thumbnail OR large”.
  • Link Target : [fpc_post_slider link_target="blank"]
    Open link in same window OR in new tab .Values are “self ” (same window) OR “Blank” (new tab) .
  • Show Author : [fpc_post_slider show_author="true"]
    Display Featured Post Author OR Not. By Default Value is “true”. Values are “true” OR “false”.
  • Show Date : [fpc_post_slider show_date="false"]
    Display featured post date OR not. By default value is “true”. Values are “true” OR “false”.
  • Show Views : [fpc_post_slider show_views="false"]
    Display Views. Options are “true” OR “false”.
  • Slider Height : [fpc_post_slider slider_height="500"]
    Control featured post slider height. Enter numeric value.
  • Dots : [fpc_post_slider dots="true"]
    Display slider navigation dots. Values are “true” OR “false” .
  • Arrow : [fpc_post_slider arrows="true"]
    Display slider navigation arrows. Values are “true” OR “false” .
  • Autoplay : [fpc_post_slider autoplay="true"]
    Enable slider autoplay. Values are “true” OR “false”.
  • Autoplay Interval : [fpc_post_slider autoplay_interval="1000"]
    Set slider slide interval time.
  • Speed : [fpc_post_slider speed="3000"]
    Set slider speed .
  • Loop : [fpc_post_slider loop="true"]
    Enable continuous sliding. Values are “true” OR “false”.
  • Hover Pause : [fpc_post_slider hover_pause="true"]
    Pause slider autoplay on hover. By default value is “true”. Options are “true” OR “false”.
  • Focus Pause : [fpc_post_slider focus_pause="false"]
    Pause slider autoplay when slider element is focused. By default value is “false”. Options are “true” OR “false”.
  • Post Type : [fpc_post_slider post_type="post"]
    Enter registered custom post type name to enable custom post type support.
  • Display Specific Posts : [fpc_post_slider posts="1,5,6"]
    Display only specific posts. You can pass multiple ids by comma separated.
  • Taxonomy : [fpc_post_slider taxonomy="category"]
    You can display post by category of post.
  • Category : [fpc_post_slider category="40,50"]
    Display featured post categories wise. You can pass multiple ids by comma separated.
  • Show Category Name : [fpc_post_slider show_category_name="true"]
    Display featured post category name OR not. By default value is “true”. Values are “true” OR “false”.
  • Display Child Category : [fpc_post_slider include_cat_child="true"]
    Display child category. Values are “true” OR “false”.
  • Exclude Category : [fpc_post_slider exclude_cat="1,5,6"]
    Exclude some post category which you do not want to display. You can pass multiple ids by comma separated.
  • Exclude Post : [fpc_post_slider hide_post="1,5,6"]
    Exclude some post which you do not want to display. You can enter multiple ids by comma separated.
  • Include Author : [fpc_post_slider include_author="6,5,8"]
    Display posts of Particular author. You can pass multiple author ids by comma separated.
  • Exclude Author : [fpc_post_slider exclude_author="6,5,8"]
    Exclude some post of particular author which you do not want to display. You can pass multiple ids by comma separated.
  • Order : [fpc_post_slider order="DESC"]
    Display featured post by order. Values are “ASC” OR “DESC”.
  • Orderby : [fpc_post_slider orderby="post_date"]
    Display featured post in your order. Values are “post_date”, “modified”, “title”, “name” (Post Slug, “ID”, “rand”, “menu_order”, “comment_count”)
  • Show Content : [fpc_post_slider show_content="false"]
    Display content.
  • Content Words Limit : [fpc_post_slider content_words_limit="20"]
    Control content words limit.
  • Content Tail : [fpc_post_slider content_tail="..."]
    Display dots after the post content as continue reading.
  • Show Read More : [fpc_post_slider show_read_more="true"]
    Display read more.
  • Read More Text : [fpc_post_slider read_more_text="Read More"]
    Enter read more text.
  • Query Offset : [fpc_post_slider query_offset="5"]
    This will hide first five post. E.g I have set offset 5 then it will skip first five post.
    Note: This will not work with pagination and limit=”-1″ parameter.
  • Slider Lazyload : [fpc_post_slider lazyload=""]
    Select option to use lazy loading in slider. Values are “ondemand”, “progressive”.
  • Extra Class : [fpc_post_slider extra_class=""]
    Enter extra class.
    Note: Extra class added as parent so using extra class you customize your design.

Following are Featured GridBox Parameters:

[fpc_post_block]

  • Design : [fpc_post_block design="design-1"]
    Select design for featured post. Designs are design-1 to design-20.
  • Limit : [fpc_post_block limit="10"]
    Display latest 10 featured post. You can display all post by set limit=”-1″.
  • Image Height : [fpc_post_block image_height="500"]
    Control featured post image height. Enter numeric value.
  • Media Size : [fpc_post_block media_size="large"]
    Set post media size. By default value is “large”. Values are “full”, “medium”, “thumbnail” OR “large”.
  • Link Target : [fpc_post_block link_target="blank"]
    Open link in same window OR in new tab .Values are “self ” (same window) OR “Blank” (new tab) .
  • Show Author : [fpc_post_block show_author="true"]
    Display Featured Post Author OR Not. By Default Value is “true”. Values are “true” OR “false”.
  • Show Date : [fpc_post_block show_date="false"]
    Display featured post date OR not. By default value is “true”. Values are “true” OR “false”.
  • Show Views : [fpc_post_block show_views="false"]
    Display Views. Options are “true” OR “false”.
  • Post Type : [fpc_post_block post_type="post"]
    Enter registered custom post type name to enable custom post type support.
  • Display Specific Posts : [fpc_post_block posts="1,5,6"]
    Display only specific posts. You can pass multiple ids by comma separated.
  • Taxonomy : [fpc_post_block taxonomy="category"]
    Enter registered custom taxonomy name to enable custom taxonomy support.
  • Category : [fpc_post_block category="5,10,15"]
    Display featured post categories wise. You can pass multiple ids by comma separated.
  • Show Category Name : [fpc_post_block show_category_name="true"]
    Display featured post category name OR not. By default value is “true”. Values are “true” OR “false”.
  • Display Child Category: [fpc_post_block include_cat_child="true"]
    Display child category. Values are “true” OR “false”.
  • Order : [fpc_post_block order="DESC"]
    Display featured post by order. Values are “ASC” OR “DESC”.
  • Orderby : [fpc_post_block orderby="post_date"]
    Display featured post in your order. Values are “post_date”, “modified”, “title”, “name” (Post Slug, “ID”, “rand”, “menu_order”, “comment_count”.
  • Exclude Category : [fpc_post_block exclude_cat="1,5,6"]
    Exclude some post category which you do not want to display. You can pass multiple ids by comma separated.
  • Exclude Post : [fpc_post_block hide_post="1,5,6"]
    Exclude some post which you do not want to display. You can enter multiple ids by comma separated.
  • Pagination : [fpc_post_block pagination="true"]
    Show/Hide pagination links. By default value is “true”. Values are “true” OR “false”
  • Pagination Type : [fpc_post_block pagination_type="numeric"]
    Pagination type works when pagination set to true. Values are “Numeric” OR “Previous-next”.
  • Include Author : [fpc_post_block include_author="6,5,8"]
    Display posts of Particular author. You can pass multiple author ids by comma separated.
  • Exclude Author : [fpc_post_block exclude_author="6,5,8"]
    Exclude some post of particular author which you do not want to display. You can pass multiple ids by comma separated.
  • Show Content : [fpc_post_block show_content="false"]
    Display content.
  • Content Words Limit : [fpc_post_block content_words_limit="20"]
    Control content words limit.
  • Content Tail : [fpc_post_block content_tail="..."]
    Display dots after the post content as continue reading.
  • Show Read More : [fpc_post_block show_read_more="true"]
    Display read more.
  • Read More Text : [fpc_post_block read_more_text="Read More"]
    Enter read more text.
  • Query Offset : [fpc_post_block query_offset="5"]
    This will hide first five post. E.g I have set offset 5 then it will skip first five post.
    Note: This will not work with pagination and limit=”-1″ parameter.
  • Extra Class : [fpc_post_block extra_class=""]
    Enter extra class.
    Note: Extra class added as parent so using extra class you customize your design.

Following are Featured Post Carousel Parameters:

[fpc_post_carousel]

  • Limit : [fpc_post_carousel limit="10"]
    Display latest 10 featured post. You can display all post by set limit=”-1″.
  • Design : [fpc_post_carousel design="design-1"]
    Select design for featured post. Designs are design-1 to design-20.
  • Media Size : [fpc_post_carousel media_size="large"]
    Set post media size. By default value is “large”. Values are “full”, “medium”, “thumbnail” OR “large”
  • Link Target : [fpc_post_carousel link_target="blank"]
    Open link in same window OR in new tab .Values are “self ” (same window) OR “Blank” (new tab) .
  • Show Author : [fpc_post_carousel show_author="true"]
    Display Featured Post Author OR Not. By Default Value is “true”. Values are “true” OR “false”.
  • Show Date : [fpc_post_carousel show_date="false"]
    Display featured post date OR not. By default value is “true”. Values are “true” OR “false”.
  • Show Views : [fpc_post_carousel show_views="false"]
    Display Views. Options are “true” OR “false”.
  • Slider Height : [fpc_post_carousel slider_height="500"]
    Control featured post slider height. Enter numeric value.
  • Dots : [fpc_post_carousel dots="true"]
    Display slider navigation dots. Values are “true” OR “false” .
  • Arrow : [fpc_post_carousel arrows="true"]
    Display slider navigation arrows.Values are “true” OR “false” .
  • Autoplay : [fpc_post_carousel autoplay="true"]
    Enable slider autoplay. Values are “true” OR “false”.
  • Autoplay Interval : [fpc_post_carousel autoplay_interval="1000"]
    Set slider slide interval time.
  • Speed : [fpc_post_carousel speed="3000"]
    Set slider speed .
  • Center Mode : [fpc_post_carousel centermode="true"]
    Enables centered view with partial previous/next slides. Use with odd numbered slidesToShow counts and slides_to_scroll=”1″. By default value is “false”.
  • Loop : [fpc_post_carousel loop="true"]
    Enable continuous sliding. Values are “true” OR “false”.
  • Slides To Scroll : [fpc_post_carousel slides_to_scroll="2"]
    Set number of slides to scroll at a time.
  • Slides To Show : [fpc_post_carousel slides_to_show="2"]
    Set number of slides for show.
  • Hover Pause : [fpc_post_carousel hover_pause="true"]
    Pause slider autoplay on hover. By default value is “true”. Options are “true” OR “false”.
  • Focus Pause : [fpc_post_carousel focus_pause="false"]
    Pause slider autoplay when slider element is focused. By default value is “false”. Options are “true” OR “false”.
  • Post Type : [fpc_post_carousel post_type="post"]
    Enter registered custom post type name to enable custom post type support.
  • Display Specific Posts : [fpc_post_carousel posts="1,5,6"]
    Display only specific posts. You can pass multiple ids by comma separated.
  • Taxonomy : [fpc_post_carousel taxonomy="category"]
    You can display post by category of post.
  • Category : [fpc_post_carousel category="40,50"]
    Display featured post categories wise. You can pass multiple ids by comma separated.
  • Show Category Name : [fpc_post_carousel show_category_name="true"]
    Display featured post category name OR not. By default value is “true”. Values are “true” OR “false”.
  • Category Child : [fpc_post_carousel include_cat_child="true"]
    Display child category. Values are “true” OR “false”.
  • Exclude Category : [fpc_post_carousel exclude_cat="1,5,6"]
    Exclude some post category which you do not want to display. You can pass multiple ids by comma separated.
  • Exclude Post : [fpc_post_carousel hide_post="1,5,6"]
    Exclude some post which you do not want to display. You can enter multiple ids by comma separated.
  • Include Author : [fpc_post_carousel include_author="6,5,8"]
    Display posts of Particular author. You can pass multiple author ids by comma separated.
  • Exclude Author : [fpc_post_carousel exclude_author="6,5,8"]
    Exclude some post of particular author which you do not want to display. You can pass multiple ids by comma separated.
  • Order : [fpc_post_carousel order="DESC"]
    Display featured post by order. Values are “ASC” OR “DESC”.
  • Orderby : [fpc_post_carousel orderby="post_date"]
    Display featured post in your order. Values are “post_date”, “modified”, “title”, “name” (Post Slug, “ID”, “rand”, “menu_order”, “comment_count”)
  • Show Content : [fpc_post_carousel show_content="false"]
    Display content.
  • Content Words Limit : [fpc_post_carousel content_words_limit="20"]
    Control content words limit.
  • Content Tail : [fpc_post_carousel content_tail="..."]
    Display dots after the post content as continue reading.
  • Show Read More : [fpc_post_carousel show_read_more="true"]
    Display read more.
  • Read More Text : [fpc_post_carousel read_more_text="Read More"]
    Enter read more text.
  • Query Offset : [fpc_post_carousel query_offset="5"]
    This will hide first five post. E.g I have set offset 5 then it will skip first five post.
    Note: This will not work with pagination and limit=”-1″ parameter.
  • Slider Lazyload : [fpc_post_carousel lazyload=""]
    Select option to use lazy loading in slider. Values are “ondemand”, “progressive”.
  • Extra Class : [fpc_post_carousel extra_class=""]
    Enter extra class.
    Note: Extra class added as parent so using extra class you customize your design.

Following are Trending Post Grid Parameters:

[wtpsw_grid]

  • Design : [wtpsw_grid design="design-1"]
    Select design for trending post. Designs are design -1 to design -20.
  • Grid : [wtpsw_grid grid="3"]
    Display post in a Grid/Column wise. values are 1, 2, 3 and 4.
  • Limit : [wtpsw_grid limit="10"]
    Display latest 10 trending post. You can display all post by set limit=”-1″.
  • Image Height : [wtpsw_grid image_height="500"]
    Control Trending post image height. Enter any numeric value.
  • Media Size : [wtpsw_grid media_size="large"]
    Set post media size. By default value is “large”. Values are “full”, “medium”, “thumbnail” OR “large”.
  • Link Target : [wtpsw_grid link_target="blank"]
    Open link in same window OR in new tab .Values are “self ” (same window) OR “Blank” (new tab) .
  • Show Author : [wtpsw_grid show_author="true"]
    Display trending Post Author OR Not. By Default Value is “true”. Values are “true” OR “false”.
  • Show Date : [wtpsw_grid show_date="false"]
    Display trending post date OR not. By default value is “true”. Values are “true” OR “false”.
  • Show Views : [wtpsw_grid show_views="false"]
    Display views. Values are “true” OR “false”.
  • Show Comment Count : [wtpsw_grid show_comment_count="true"]
    Display number of comments on post. Values are “true” OR “false”.
  • Hide Empty Comment Count : [wtpsw_grid hide_empty_comment_count="false"]
    Display 0 comment count or not. Values are “true” OR “false”.
  • Post Type : [wtpsw_grid post_type="post"]
    Enter registered custom post type name to enable custom post type support.
  • Display Specific Posts : [wtpsw_grid posts="1,5,6"]
    Display only specific posts. You can pass multiple ids by comma separated.
  • Taxonomy : [wtpsw_grid taxonomy="category"]
    You can display post by category of post.
  • Category : [wtpsw_grid category="40,50"]
    Display featured post categories wise. You can pass multiple ids by comma separated.
  • Display Child Category : [wtpsw_grid include_cat_child="true"]
    Display child category. Values are “true” OR “false”.
  • Exclude Post : [wtpsw_grid hide_post="1,5,6"]
    Exclude some post which you do not want to display. You can enter multiple ids by comma separated.
  • Exclude Category : [wtpsw_grid exclude_cat="1,5,6"]
    Exclude some post category which you do not want to display. You can pass multiple ids by comma separated.
  • Include Author : [wtpsw_grid include_author="6,5,8"]
    Display posts of Particular author. You can pass multiple author ids by comma separated.
  • Exclude Author : [wtpsw_grid exclude_author="6,5,8"]
    Exclude some post of particular author which you do not want to display. You can pass multiple ids by comma separated.
  • Order : [wtpsw_grid order="DESC"]
    Display trending post by order. Values are “ASC” OR “DESC”.
  • Orderby : [wtpsw_grid orderby="post_date"]
    Display trending post in your order. Values are “post_date”, “modified”, “title”, “name” (Post Slug, “ID”, “rand”, “menu_order”, “comment_count”).
  • Pagination : [wtpsw_grid pagination="true"]
    Show/Hide pagination links. By default value is “true”. Values are “true” OR “false”.
  • Pagination Type : [wtpsw_grid pagination_type="numeric"]
    Pagination type works when pagination set to true.Values are “Numeric” and “Previous-next”.
  • Show Content : [wtpsw_grid show_content="false"]
    Display content.
  • Content Words Limit : [wtpsw_grid content_words_limit="20"]
    Control content words limit.
  • Content Tail : [wtpsw_grid content_tail="..."]
    Display dots after the post content as continue reading.
  • Show Read More : [wtpsw_grid show_read_more="true"]
    Display read more.
  • Read More Text : [wtpsw_grid read_more_text="Read More"]
    Enter read more text.
  • Query Offset : [wtpsw_grid query_offset="5"]
    This will hide first five post. E.g I have set offset 5 then it will skip first five post.
    Note: This will not work with pagination and limit=”-1″ parameter.
  • Extra Class : [wtpsw_grid extra_class=""]
    Enter extra class.
    Note: Extra class added as parent so using extra class you customize your design.

Following are Trending Post Slider Parameters:

[wtpsw_popular_post]

  • Design : [wtpsw_popular_post design="design-1"]
    Select design for trending post. Designs are design -1 to design -20.
  • Limit : [wtpsw_popular_post limit="10"]
    Display latest 10 trending post. You can display all post by set limit=”-1″.
  • Media Size : [wtpsw_popular_post media_size="large"]
    Set post media size. By default value is “large”. Values are “full”, “medium”, “thumbnail” OR “large”.
  • Link Target : [wtpsw_popular_post link_target="blank"]
    Open link in same window OR in new tab .Values are “self ” (same window) OR “Blank” (new tab) .
  • Show Author : [wtpsw_popular_post show_author="true"]
    Display trending Post Author OR Not. By Default Value is “true”. Values are “true” OR “false”.
  • Show Date : [wtpsw_popular_post show_date="false"]
    Display trending post date OR not. By default value is “true”. Values are “true” OR “false”.
  • Show Views : [wtpsw_popular_post show_views="false"]
    Display views. Values are “true” OR “false”.
  • Show Comment Count : [wtpsw_popular_post show_comment_count="true"]
    Display number of comments on post. Values are “true” OR “false”.
  • Hide Empty Comment Count : [wtpsw_popular_post hide_empty_comment_count="false"]
    Display 0 comment count or not. Values are “true” OR “false”.
  • Slider Height : [wtpsw_popular_post slider_height="500"]
    Control Trending post image height. You can enter any numeric values.
  • Dots : [wtpsw_popular_post dots="true"]
    Display slider navigation dots. Values are “true” OR “false” .
  • Arrow : [wtpsw_popular_post arrows="true"]
    Display slider navigation arrow. Values are “true” and “false” .
  • Autoplay : [wtpsw_popular_post autoplay="true"]
    Enable slider autoplay. Values are “true” or “false”.
  • Autoplay Interval : [wtpsw_popular_post autoplay_interval="1000"]
    Set slider slide interval time.
  • Speed : [wtpsw_popular_post speed="3000"]
    Set slider speed .
  • Loop : [wtpsw_popular_post loop="true"]
    Enable continuous sliding. Values are “true” OR “false”.
  • Hover Pause : [wtpsw_popular_post hover_pause="true"]
    Pause slider autoplay on hover. By default value is “true”. Options are “true” OR “false”.
  • Focus Pause : [wtpsw_popular_post focus_pause="false"]
    Pause slider autoplay when slider element is focused. By default value is “false”. Options are “true” OR “false”.
  • Post Type : [wtpsw_popular_post post_type="post"]
    Enter registered custom post type name to enable custom post type support.
  • Display Specific Posts : [wtpsw_popular_post posts="1,5,6"]
    Display only specific posts. You can pass multiple ids by comma separated.
  • Taxonomy : [wtpsw_popular_post taxonomy="category"]
    You can display post by category of post.
  • Category : [wtpsw_popular_post category="40,50"]
    Display featured post categories wise. You can pass multiple ids by comma separated.
  • Display Child Category : [wtpsw_popular_post include_cat_child="true"]
    Display child category. Values are “true” OR “false”.
  • Exclude Post : [wtpsw_popular_post hide_post="1,5,6"]
    Exclude some post which you do not want to display. You can enter multiple ids by comma separated.
  • Exclude Category : [wtpsw_popular_post exclude_cat="1,5,6"]
    Exclude some post category which you do not want to display. You can pass multiple ids by comma separated.
  • Include Author : [wtpsw_popular_post include_author="6,5,8"]
    Display posts of Particular author. You can pass multiple author ids by comma separated.
  • Exclude Author : [wtpsw_popular_post exclude_author="6,5,8"]
    Exclude some post of particular author which you do not want to display. You can pass multiple ids by comma separated.
  • Order : [wtpsw_popular_post order="DESC"]
    Display trending post by order. Values are “ASC” OR “DESC”.
  • Orderby : [wtpsw_popular_post orderby="post_date"]
    Display trending post in your order. Values are “post_date”, “modified”, “title”, “name” (Post Slug, “ID”, “rand”, “menu_order”, “comment_count”).
  • Show Content : [wtpsw_popular_post show_content="false"]
    Display content.
  • Content Words Limit : [wtpsw_popular_post content_words_limit="20"]
    Control content words limit.
  • Content Tail : [wtpsw_popular_post content_tail="..."]
    Display dots after the post content as continue reading.
  • Show Read More : [wtpsw_popular_post show_read_more="true"]
    Display read more.
  • Read More Text : [wtpsw_popular_post read_more_text="Read More"]
    Enter read more text.
  • Query Offset : [wtpsw_popular_post query_offset="5"]
    This will hide first five post. E.g I have set offset 5 then it will skip first five post.
    Note: This will not work with pagination and limit=”-1″ parameter.
  • Slider Lazyload : [wtpsw_popular_post lazyload=""]
    Select option to use lazy loading in slider. Values are “ondemand”, “progressive”.
  • Extra Class : [wtpsw_popular_post extra_class=""]
    You can add extra class.
    Note: Extra class added as parent so using extra class you customize your design.

Following are Trending Post GridBox Parameters:

[wtpsw_gridbox]

  • Design : [wtpsw_gridbox design="design-1"]
    Select design for trending post. Designs are design -1 to design -20.
  • Limit : [wtpsw_gridbox limit="10"]
    Display latest 10 trending post. You can display all post by set limit=”-1″.
  • Image Height : [wtpsw_gridbox image_height="500"]
    Control Trending post image height. You can enter any numeric values.
  • Media Size : [wtpsw_gridbox media_size="large"]
    Set post media size. By default value is “large”. Values are “full”, “medium”, “thumbnail” OR “large”.
  • Link Target : [wtpsw_gridbox link_target="blank"]
    Open link in same window OR in new tab .Values are “self ” (same window) OR “Blank” (new tab) .
  • Show Author : [wtpsw_gridbox show_author="true"]
    Display trending Post Author OR Not. By Default Value is “true”. Values are “true” OR “false”.
  • Show Date : [wtpsw_gridbox show_date="false"]
    Display trending post date OR not. By default value is “true”. Values are “true” OR “false”.
  • Show Views : [wtpsw_gridbox show_views="false"]
    Display views. Values are “true” OR “false”.
  • Show Comment Count : [wtpsw_gridbox show_comment_count="true"]
    Display number of comments on post. Values are “true” OR “false”.
  • Hide Empty Comment Count : [wtpsw_gridbox hide_empty_comment_count="false"]
    Display 0 comment count or not. Values are “true” OR “false”.
  • Post Type : [wtpsw_gridbox post_type="post"]
    Enter registered custom post type name to enable custom post type support.
  • Display Specific Posts : [wtpsw_gridbox posts="1,5,6"]
    Display only specific posts. You can pass multiple ids by comma separated.
  • Taxonomy : [wtpsw_gridbox taxonomy="category"]
    You can display post by category of post.
  • Category : [wtpsw_gridbox category="40,50"]
    Display featured post categories wise. You can pass multiple ids by comma separated.
  • Display Child Category : [wtpsw_gridbox include_cat_child="true"]
    Display child category. Values are “true” OR “false”.
  • Exclude Post : [wtpsw_gridbox hide_post="1,5,6"]
    Exclude some post which you do not want to display. You can enter multiple ids by comma separated.
  • Exclude Category : [wtpsw_gridbox exclude_cat="1,5,6"]
    Exclude some post category which you do not want to display. You can pass multiple ids by comma separated.
  • Include Author : [wtpsw_gridbox include_author="6,5,8"]
    Display posts of Particular author. You can pass multiple author ids by comma separated.
  • Exclude Author : [wtpsw_gridbox exclude_author="6,5,8"]
    Exclude some post of particular author which you do not want to display. You can pass multiple ids by comma separated.
  • Order : [wtpsw_gridbox order="DESC"]
    Display trending post by order. Values are “ASC” OR “DESC”.
  • Orderby : [wtpsw_gridbox orderby="post_date"]
    Display trending post in your order. Values are “post_date”, “modified”, “title”, “name” (Post Slug, “ID”, “rand”, “menu_order”, “comment_count”).
  • Pagination : [wtpsw_gridbox pagination="true"]
    Show/Hide pagination links. By default value is “true”. Values are “true” OR “false”.
  • Pagination Type : [wtpsw_gridbox pagination_type="numeric"]
    Pagination type works when pagination set to true.Values are “Numeric” and “Previous-next”.
  • Show Content : [wtpsw_gridbox show_content="false"]
    Display content.
  • Content Words Limit : [wtpsw_gridbox content_words_limit="20"]
    Control content words limit.
  • Content Tail : [wtpsw_gridbox content_tail="..."]
    Display dots after the post content as continue reading.
  • Show Read More : [wtpsw_gridbox show_read_more="true"]
    Display read more.
  • Read More Text : [wtpsw_gridbox read_more_text="Read More"]
    Enter read more text.
  • Query Offset : [wtpsw_gridbox query_offset="5"]
    This will hide first five post. E.g I have set offset 5 then it will skip first five post.
    Note: This will not work with pagination and limit=”-1″ parameter.
  • Extra Class : [wtpsw_gridbox extra_class=""]
    Enter extra class.
    Note: Extra class added as parent so using extra class you customize your design.

Following are Trending Post Carousel Parameters:

[wtpsw_carousel]

  • Design : [wtpsw_carousel design="design-1"]
    Select design for trending post. Designs are design -1 to design -20.
  • Limit : [wtpsw_carousel limit="10"]
    Display latest 10 trending post. You can display all post by set limit=”-1″.
  • Media Size : [wtpsw_carousel media_size="large"]
    Set post media size. By default value is “large”. Values are “full”, “medium”, “thumbnail” OR “large”.
  • Link Target : [wtpsw_carousel link_target="blank"]
    Open link in same window OR in new tab .Values are “self ” (same window) OR “Blank” (new tab) .
  • Show Author : [wtpsw_carousel show_author="true"]
    Display trending Post Author OR Not. By Default Value is “true”. Values are “true” OR “false”.
  • Show Date : [wtpsw_carousel show_date="false"]
    Display trending post date OR not. By default value is “true”. Values are “true” OR “false”.
  • Show Views : [wtpsw_carousel show_views="false"]
    Display views. Values are “true” OR “false”.
  • Show Comment Count : [wtpsw_carousel show_comment_count="true"]
    Display number of comments on post. Values are “true” OR “false”.
  • Hide Empty Comment Count : [wtpsw_carousel hide_empty_comment_count="false"]
    Display 0 comment count or not. Values are “true” OR “false”.
  • Slider Height : [wtpsw_carousel slider_height="500"]
    Control trending post slider height. Enter numeric value.
  • Dots : [wtpsw_carousel dots="true"]
    Display slider navigation dots. Values are “true” OR “false” .
  • Arrow : [wtpsw_carousel arrows="true"]
    Display slider navigation arrow. Values are “true” OR “false” .
  • Autoplay : [wtpsw_carousel autoplay="true"]
    Enable slider autoplay. Values are “true” OR “false”.
  • Autoplay Interval : [wtpsw_carousel autoplay_interval="1000"]
    Set slider slide interval time.
  • Speed : [wtpsw_carousel speed="3000"]
    Set slider speed .
  • Loop : [wtpsw_carousel loop="true"]
    Enable continuous sliding. Values are “true” OR “false”.
  • Center Mode : [wtpsw_carousel centermode="true"]
    Enables centered view with partial previous/next slides. Use with odd numbered slidesToShow counts and slides_to_scroll=”1″. By default value is “false”.
  • Slides To Scroll : [wtpsw_carousel slides_to_scroll="2"]
    Set number of slides to scroll at a time.
  • Slides To Show : [wtpsw_carousel slides_to_show="2"]
    Set number of slides for show.
  • Hover Pause : [wtpsw_carousel hover_pause="true"]
    Pause slider autoplay on hover. By default value is “true”. Options are “true” OR “false”.
  • Focus Pause : [wtpsw_carousel focus_pause="false"]
    Pause slider autoplay when slider element is focused. By default value is “false”. Options are “true” OR “false”.
  • Post Type : [wtpsw_carousel post_type="post"]
    Enter registered custom post type name to enable custom post type support.
  • Display Specific Posts : [wtpsw_carousel posts="1,5,6"]
    Display only specific posts. You can pass multiple ids by comma separated.
  • Taxonomy : [wtpsw_carousel taxonomy="category"]
    You can display post by category of post.
  • Category : [wtpsw_carousel category="40,50"]
    Display featured post categories wise. You can pass multiple ids by comma separated.
  • Display Child Category : [wtpsw_carousel include_cat_child="true"]
    Display child category. Values are “true” OR “false”.
  • Exclude Post : [wtpsw_carousel hide_post="1,5,6"]
    Exclude some post which you do not want to display. You can enter multiple ids by comma separated.
  • Exclude Category : [wtpsw_carousel exclude_cat="1,5,6"]
    Exclude some post category which you do not want to display. You can pass multiple ids by comma separated.
  • Include Author : [wtpsw_carousel include_author="6,5,8"]
    Display posts of Particular author. You can pass multiple author ids by comma separated.
  • Exclude Author : [wtpsw_carousel exclude_author="6,5,8"]
    Exclude some post of particular author which you do not want to display. You can pass multiple ids by comma separated.
  • Order : [wtpsw_carousel order="DESC"]
    Display trending post by order. Values are “ASC” OR “DESC”.
  • Orderby : [wtpsw_carousel orderby="post_date"]
    Display trending post in your order. Values are “post_date”, “modified”, “title”, “name” (Post Slug, “ID”, “rand”, “menu_order”, “comment_count”).
  • Show Content : [wtpsw_carousel show_content="false"]
    Display content.
  • Content Words Limit : [wtpsw_carousel content_words_limit="20"]
    Control content words limit.
  • Content Tail : [wtpsw_carousel content_tail="..."]
    Display dots after the post content as continue reading.
  • Show Read More : [wtpsw_carousel show_read_more="true"]
    Display dots after the post content as continue reading.
  • Content Tail : [wtpsw_carousel content_tail="..."]
    Display read more.
  • Read More Text : [wtpsw_carousel read_more_text="Read More"]
    Enter read more text.
  • Query Offset : [wtpsw_carousel query_offset="5"]
    This will hide first five post. E.g I have set offset 5 then it will skip first five post.
    Note: This will not work with pagination and limit=”-1″ parameter.
  • Extra Class : [wtpsw_carousel extra_class=""]
    Enter extra class.
    Note: Extra class added as parent so using extra class you customize your design.
  • Slider Lazyload : [wtpsw_carousel lazyload=""]
    Select option to use lazy loading in slider. Values are “ondemand”, “progressive”.

Template Structure + Overriding templates via a theme :

The template files of feature and trending post contain the markup and template structure for the front-end of your site. If you open these files you’ll notice they all contain many hooks which will allow you to add / move content without having to edit the template files themselves. This method protects even further against any upgrade issues as the template files can be left completely untouched.

Alternatively, you can edit these files in an upgrade safe way through overrides. Simply copy it into a directory within your theme named /featured-and-trending-post-pro, keeping the same file structure.

Example : To override the featured and trending post design file simply copy file from /featured-and-trending-post-pro/templates/featured/designs/design-1.php to yourtheme/featured-and-trending-post-pro/featured/designs/design-1.php

The copied file will now override the  featured and trending post default template file. Do not edit these files within the core plugin itself as they are overwritten during the upgrade process and any customizations will be lost.

The following template files can be found within the featured-and-trending-post-pro/templates/ directory:

Widgets

3 Post Widgets for Featured Post

Widget Options are added like Show post date, Show post Categories. Just got to Appearance -> Widgets and select the widgets.

3 post Widgets for Trending Post

Widget Options are added like Show post date, Show post Categories. Just got to Appearance -> Widgets and select the widgets.