Documentation

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.

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.

  • 1) Feature Post Grid View
    [fpc_post_grid]

  • 2) Feature Post GridBox View
    [fpc_post_block]

  • 3) Feature Post Slider View
    [fpc_post_slider]

  • 4) Feature Post Carousel View
    [fpc_post_carousel]

  • 5) Trending Post Grid View
    [wtpsw_grid]

  • 6) Trending Post GridBox View
    [wtpsw_gridbox]

  • 7) Trending Post Slider View
    [wtpsw_popular_post]

  • 8) Trending Post Carousel View
    [wtpsw_carousel]

You can also use template code to display Blog in your theme template.
<?php echo do_shortcode('[fpc_post_grid]'); ?>
<?php echo do_shortcode('[fpc_post_block]'); ?>
<?php echo do_shortcode('[fpc_post_slider]'); ?>
<?php echo do_shortcode('[fpc_post_carousel]'); ?>
<?php echo do_shortcode('[wtpsw_grid]'); ?>
<?php echo do_shortcode('[wtpsw_gridbox]'); ?>
<?php echo do_shortcode('[wtpsw_popular_post]'); ?>
<?php echo do_shortcode('[wtpsw_carousel]'); ?>

Shortcode parameters

Following are featured grid Parameters:

[fpc_post_grid]
  • Limit :
    [fpc_post_grid limit="10"]
    Display latest 10 featured post then pagination.

  • Grid :
    [fpc_post_grid grid="3"]
    Display post in grid or column wise.

  • Design :
    [fpc_post_block design="design-1"]
    Set design for Featured post. Where designs are design-1 to design-20.

  • Show Author :
    [fpc_post_grid show_author="true"]
    Display featured post author OR not. By default value is “true”. Values are “true” OR “false”.

  • Category :
    [fpc_post_grid category="40,50"]
    Display featured post categories wise. You can enter multiple ids by comma separated.

  • Category Child :
    [fpc_post_g rid include_cat_child="true"]
    Display child category or not. Values are “true OR false”.

  • Show Category Name :
    [fpc_post_grid show_category_name="true"]
    Display featured post category name OR not. By default value is “true”. Options 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”.

  • 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”

  • Exclude Category :
    [fpc_post_grid exclude_cat="1,5,6"]
    Exclude some post category which you do not want to display. You can enter multiple ids by comma separated.

  • Display Specific Posts :
    [fpc_post_grid posts="1,5,6"]
    Display only specific posts. You can enter multiple 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.

  • Image Height :
    [fpc_post_grid image_height="500"]
    Control featured post image height.

Following are featured GridBox Parameters:

[fpc_post_block]

  • Limit :
    [fpc_post_block limit="10"]
    Display latest 10 featured post then pagination.

  • Category :
    [fpc_post_block category="402,50"]
    Display featured post categories wise. You can pass multiple ids by comma separated.

  • Category Child :
    [fpc_post_block include_cat_child="true"]
    Display child category or not. Values are “true or false”.

  • Design :
    [fpc_post_block design="design-1"]
    Display featured post in different 20 design.

  • 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”. Options are “true OR false”.

  • Show Category Name :
    [fpc_post_block show_category_name="true"]
    Display featured post category name OR not. By default value is “true”. Options are “true OR false”.

  • Order :
    [fpc_post_block order="DESC"]
    Set 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.

  • Display Specific Posts :
    [fpc_post_block posts="1,5,6"]
    Display only specific posts. 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 pass multiple ids by comma separated.

  • Image Height :
    [fpc_post_block image_height="500"]
    Control featured post image height.

Following are featured Post slider Parameters:

[fpc_post_slider]

  • Limit :
    [fpc_post_slider limit="10"]
    Display latest 10 featured post then pagination.

  • Category :
    [fpc_post_slider category="40,50"]
    Display featured post categories wise. You can pass multiple ids by comma separated.

  • Category Child :
    [fpc_post_slider include_cat_child="true"]
    Display child category or not. Values are “true OR false”.

  • Design :
    [fpc_post_slider design="design-1"]
    Set design for Featured Post slider. Where designs are design-1 to design-20

  • 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”. Options are “true OR false”.

  • Show Category Name :
    [fpc_post_slider show_category_name="true"]
    Display featured post category name OR not. By default value is “true”. Options are “true OR false”.

  • Order :
    [fpc_post_slider order="DESC"]
    Set 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”

  • 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.

  • Display Specific Posts :
    [fpc_post_slider posts="1,5,6"]
    Display only specific posts. 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 pass multiple ids by comma separated.

  • Slider Height :
    [fpc_post_slider slider_height="500"]
    Control featured post image height.

  • Dots :
    [fpc_post_slider dots="true"]
    Display dots in slider or not. Values are “true OR false”.

  • Arrow :
    [fpc_post_slider arrows="true"]
    Display arrows in slider or not Values are “true OR false”.

  • Autoplay :
    [fpc_post_slider autoplay="true"]
    Autoplay slides.

  • Autoplay Interval :
    [fpc_post_slider autoplay_interval="1000"]
    Autoplay Interval will set time between slides change.

  • Speed :
    [fpc_post_slider speed="3000"]
    Speed of slider will be controlled with this parameter.

  • Loop :
    [fpc_post_slider loop="true"]
    Continuous slider will set with this parameter. Values are “true OR false”.

Following are featured Post carousel Parameters:

[fpc_post_carousel]

  • Limit :
    [fpc_post_carousel limit="10"]
    Display latest 10 featured post then pagination.

  • Category :
    [fpc_post_carousel category="40,50"]
    Display featured post categories wise. You can pass multiple ids by comma separated.

  • Category Child :
    [fpc_post_carousel include_cat_child="true"]
    Display child category or not. Values are “true OR false”.

  • Design :
    [fpc_post_carousel design="design-1"]
    Set Designs for Feature Post Carousel. Where Designs are design-1 to design-20.

  • 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”. Options are “true OR false”.

  • Show Category Name :
    [fpc_post_carousel show_category_name="true"]
    Display featured post category name OR not. By default value is “true”. Options are “true OR false”.

  • Order :
    [fpc_post_carousel order="DESC"]
    Set 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”

  • 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.

  • Display Specific Posts :
    [fpc_post_carousel posts="1,5,6"]
    Display only specific posts. 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 pass multiple ids by comma separated.

  • Slider Height :
    [fpc_post_carousel slider_height="500"]
    Control featured post image height.

  • Dots :
    [fpc_post_carousel dots="true"]
    Display slider dots or not. Values are “true OR false”.

  • Arrow :
    [fpc_post_carousel arrows="true"]
    Display slider Arrows or not. Values are “true OR false”.

  • Autoplay :
    [fpc_post_carousel autoplay="true"]
    Autoplay slides.

  • Autoplay Interval :
    [fpc_post_carousel autoplay_interval="1000"]
    Autoplay Interval will set time between slides change.

  • Speed :
    [fpc_post_carousel speed="3000"]
    Speed of slider will be controlled with this parameter.

  • Loop :
    [fpc_post_carousel loop="true"]
    Continuous slider will set with this parameter.

  • 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.

Following are trending Post grid Parameters:

[wtpsw_grid]

  • Limit :
    [wtpsw_grid limit="10"]
    Display latest 10 Trending post then pagination.

  • Post Type :
    [wtpsw_grid post_type="post"]
    Display Trending post from different post types.

  • Grid :
    [wtpsw_grid grid="3"]
    Display Trending post in various grid.

  • Design :
    [wtpsw_grid design="design-1"]
    Set Designs of Trending Post. Where designs are design-1 to design-20.

  • 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”. Options are “true OR false”.

  • Order :
    [wtpsw_grid order="DESC"]
    Set 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”

  • Image Height :
    [wtpsw_grid image_height="500"]
    Control Trending post image height.

  • View By :
    [wtpsw_grid view_by="views"]
    Display Trending post according to their views, comments.

  • 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”.

  • Display Specific Posts :
    [wtpsw_grid posts="1,5,6"]
    Display only specific posts. You can pass multiple ids by comma separated.

  • Exclude Post :
    [wtpsw_grid hide_post="1,5,6"]
    Exclude some post which you do not want to display. You can pass multiple ids by comma separated.

Following are trending Post GridBox Parameters:

[wtpsw_gridbox]

  • Limit :
    [wtpsw_gridbox limit="10"]
    Display latest 10 Trending post then pagination.

  • Post Type :
    [wtpsw_gridbox post_type="post"]
    Display Trending post from different post types.

  • Design :
    [wtpsw_gridbox design="design-1"]
    Set designs for Trending Post Gridbox. Where Designs are design-1 to design-20.

  • 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”. Options are “true OR false”.

  • Order :
    [wtpsw_gridbox order="DESC"]
    Set Trending post Gridbox 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”

  • Image Height :
    [wtpsw_gridbox image_height="500"]
    Control Trending post image height.

  • View By :
    [wtpsw_gridbox view_by="views"]
    Display Trending post according to their views, comments.

  • 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”.

  • Display Specific Posts :
    [wtpsw_gridbox posts="1,5,6"]
    Display only specific posts. You can pass multiple ids by comma separated.

  • 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.

Following are trending Post slider Parameters:

[wtpsw_popular_post]

  • Limit :
    [wtpsw_popular_post limit="10"]
    Display latest 10 Trending post then pagination.

  • Post Type :
    [wtpsw_popular_post post_type="post"]
    Display Trending post from different post types.

  • Design :
    [wtpsw_popular_post design="design-1"]
    Set Trending post slider designs. Where designs are design-1 to design-20.

  • 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”. Options are “true OR false”.

  • Order :
    [wtpsw_popular_post order="DESC"]
    Set Trending post Slider 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”

  • Slider Height :
    [wtpsw_popular_post slider_height="500"]
    Control Trending post image height.

  • Dots :
    [wtpsw_popular_post dots="true"]
    Display trending post slider dots or not. Values are “true OR false”.

  • Arrow :
    [wtpsw_popular_post arrows="true"]
    Display trending post slider arrows or not. Values are “true OR false”.

  • Autoplay :
    [wtpsw_popular_post autoplay="true"]
    Autoplay slides.

  • Autoplay Interval :
    [wtpsw_popular_post autoplay_interval="1000"]
    Autoplay Interval will set time between slides change.

  • Speed :
    [wtpsw_popular_post speed="3000"]
    Speed of slider will be controlled with this parameter.

  • Loop :
    [wtpsw_popular_post loop="true"]
    Continuous slider will set with this parameter. Values are “true OR false”.

  • View By :
    [wtpsw_popular_post view_by="views"]
    Display Trending post according to their views, comments.

  • 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”.

  • Display Specific Posts :
    [wtpsw_popular_post posts="1,5,6"]
    Display only specific posts. You can pass multiple ids by comma separated.

  • Exclude Post :
    [wtpsw_popular_post hide_post="1,5,6"]
    Exclude some post which you do not want to display. You can pass multiple ids by comma separated.

Following are trending Post carousel Parameters:

[wtpsw_carousel]

  • Limit :
    [wtpsw_carousel limit="10"]
    Display latest 10 Trending post then pagination.

  • Post Type :
    [wtpsw_carousel post_type="post"]
    Display Trending post from different post types.

  • Design :
    [wtpsw_carousel design="design-1"]
    Set Trending post carousel designs. Where designs are design-1 to design-20

  • 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”. Options are
    “true OR false”.

  • Order :
    [wtpsw_carousel order="DESC"]
    Controls Trending post 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”

  • Slider Height :
    [wtpsw_carousel slider_height="500"]
    Control Trending post image height.

  • Dots :
    [wtpsw_carousel dots="true"]
    Display dots or not. Values are “true OR false”.

  • Arrow :
    [wtpsw_carousel arrows="true"]
    Display arrows or not. Values are “true OR false”.

  • Autoplay :
    [wtpsw_carousel autoplay="true"]
    Autoplay slides.

  • Autoplay Interval :
    [wtpsw_carousel autoplay_interval="1000"]
    Autoplay Interval will set time between slides change.

  • Speed :
    [wtpsw_carousel speed="3000"]
    Speed of slider will be controlled with this parameter.

  • Loop :
    [wtpsw_carousel loop="true"]
    Continuous slider will set with this parameter. Values are “true OR 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.

  • View By :
    [wtpsw_carousel view_by="views"]
    Display Trending post according to their views, comments.

  • 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”.

  • Display Specific Posts :
    [wtpsw_carousel posts="1,5,6"]
    Display only specific posts. You can enter multiple ids by comma separated.

  • 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.

Added 3 post widgets for featured post and 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.

Updated On “May 30, 2017”