Documentation

Trending Popular Post Slider and Widget

Getting started with Trending Popular Post Slider and Widget

WP Trending Post Slider and Widget allows you to displays the most popular posts/trending posts on your blog by posts views or posts comments.

featured-post

Need Featured Post section in your website? Try our plugin Featured Post Creative

How to display and shortcode

WP Trending Post Slider and Widget plugin contain 3 shortcode and 1 widget
Display popular/trending posts in a slider view.
[wtpsw_popular_post]


Display popular/trending posts in a Carousel view.
[wtpsw_carousel]


Display popular/trending posts in a Grid Block view.
[wtpsw_gridbox]


You can also use template code to display Trending Popular Post Slider and Widget Post Creative.
<?php echo do_shortcode('[wtpsw_popular_post]'); ?>
<?php echo do_shortcode('[wtpsw_carouse]'); ?>
<?php echo do_shortcode('[wtpsw_gridbox]'); ?>

Following are Trending Post Slider Parameters:

[wtpsw_popular_post]

  • Limit:
    [wtpsw_popular_post limit="10"]
    Display latest 10 new trending post of slider then pagination.

  • Post Type:
    [wtpsw_popular_post post_type="post,page"]
    Display post list of your desired post type. You can use multiple post type by comma separated.

  • Post List By:
    [wtpsw_popular_post view_by="views"]
    Display Post list by Views or Comment count. You can use “views” OR “comment_count”

  • Order:
    [wtpsw_popular_post order="DESC"]
    Display post in a ascending or descending way. You can use “ASC” OR “DESC”.

  • Post Date:
    [wtpsw_popular_post showdate="true"]
    Display post date. You can use “true” OR “false”

  • Author:
    [wtpsw_popular_post showauthor="true"]
    Display post author. You can use “true” OR “false”

  • Post Content:
    [wtpsw_popular_post showcontent="true"]
    Display post content. You can use “true” OR “false”

  • Post Content Words Limit:
    [wtpsw_popular_post words_limit="title"]
    Display number of words in a post content.

  • Show Comment Count:
    [wtpsw_popular_post show_comment_count="true"]
    Display comment count. You can use “true” OR “false”

  • Hide Empty Comment count:
    [wtpsw_popular_post hide_empty_comment_count="true"]
    Display comment that having 0 count. You can use “true” OR “false”

  • Slider Dots:
    [wtpsw_popular_post dots="true"]
    Display slider dots or not. You can use “true” OR “false”

  • Slider Arrows:
    [wtpsw_popular_post arrows="true"]
    Display slider arrows or not. You can use “true” OR “false”

  • Slider Speed:
    [wtpsw_popular_post speed="300"]
    Controls slider speed.

  • Autoplay:
    [wtpsw_popular_post autoplay="false"]
    Enable slider automatically or not. Values are “true OR false”.

  • Autoplay Interval:
    [wtpsw_popular_post autoplayinterval="3000"]
    Delay between two slides. You can set numeric value.

Following are Trending Post Slider with carousel Parameters:

[wtpsw_carousel]

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

  • Post Type:
    [wtpsw_carousel post_type="post,page"]
    Display post list of your desired post type. You can use multiple post type by comma separated.

  • Post List By:
    [wtpsw_carousel view_by="views"]
    Display Post list by Views or Comment count. You can use “views” OR “comment_count”

  • Order:
    [wtpsw_carousel order="DESC"]
    Display post in a ascending or descending way. You can use “ASC” OR “DESC”.

  • Post Date:
    [wtpsw_carousel showdate="true"]
    Display post date. You can use “true” OR “false”.

  • Author:
    [wtpsw_carousel showauthor="true"]
    Display post author. You can use “true” OR “false”.

  • Post Content:
    [wtpsw_carousel showcontent="true"]
    Display post content. You can use “true” OR “false”.

  • Post Content Words Limit:
    [wtpsw_carousel words_limit="title"]
    Display number of words in a post content.

  • Show Comment Count:
    [wtpsw_carousel show_comment_count="true"]
    Display comment count. You can use “true” OR “false”.

  • Hide Empty Comment Count:
    [wtpsw_carousel hide_empty_comment_count="true"]
    Display comment that having 0 count. You can use “true” OR “false”.

  • Slides to show at a time:
    [wtpsw_carousel slides_to_show="3"]
    Display comment that having 0 count. You can use “true” OR “false”.

  • Slides to scroll at a time:
    [wtpsw_carousel slides_to_scroll="1"]
    Scroll slider at a time.

  • Slider Dots:
    [wtpsw_carousel dots="true"]
    Display slider dots or not. You can use “true” OR “false”.

  • Slider Arrows:
    [wtpsw_carousel arrows="true"]
    Display slider arrows or not. You can use “true” OR “false”.

  • Slider Speed:
    [wtpsw_carousel speed="300"]
    Controls slider speed.

  • Autoplay:
    [wtpsw_carousel autoplay="false"]
    Enable slider automatically or not. Values are “true OR false”.

  • Autoplay Interval:
    [wtpsw_carousel autoplayinterval="3000"]
    Delay between two slides. You can set numeric value.

Following are Trending Post Slider with gridbox Parameters:

[wtpsw_gridbox]

  • Post Type:
    [wtpsw_gridbox post_type="post,page"]
    Display post list of your desired post type. You can use multiple post type by comma separated..

  • Post List By:
    [wtpsw_gridbox view_by="views"]
    Display Post list by Views or Comment count. You can use “views” OR “comment_count”

  • Order:
    [wtpsw_gridbox order="DESC"]
    Display post in a ascending or descending way. You can use “ASC” OR “DESC”.

  • Post Date:
    [wtpsw_gridbox showdate="true"]
    Display post date. You can use “true” OR “false”

  • Author:
    [wtpsw_gridbox showauthor="true"]
    Display post author. You can use “true” OR “false”

  • Post Content:
    [wtpsw_gridbox showcontent="true"]
    Display post content. You can use “true” OR “false”

  • Show Comment Count:
    [wtpsw_gridbox show_comment_count="true"]
    Display comment count. You can use “true” OR “false”

  • Hide Empty Comment Count:
    [[wtpsw_gridbox hide_empty_comment_count="true"]
    Display comment that having 0 count. You can use “true” OR “false”

Updated On 20 Oct 2016