WordPress.org

Forums

WordPress Popular Posts
Filter by Tags instead of Categories (2 posts)

  1. cleeyesindeed
    Member
    Posted 1 year ago #

    I need to switch from filtering by category to filtering by tag. Is there any way to do this? Doesn't look like it's built into the current parameters.

    Below is my code.
    echo do_shortcode('[WPP order_by="views" range="all" stats_date=1 stats_date_format=m.j.y stats_author=1 stats_views=0 limit=2000 post_type=post cat="'.$cat.'" stats_comments=0 excerpt_length=200 excerpt_format=1 excerpt_length=200 excerpt_by_words=0 thumbnail_width=300 thumbnail_height=200 post_html="<div class=row><div class=post_border_3></div><div class=special-4-thumb>{thumb}</div><div class=special-4><h3>{title}</h3></div><div class=special-4><div class=special-sm-12><p class=medium>{stats} · {author} · {views} Views</p></div></div> <div class=special-4-spaced><p>{summary}</p></div> </div>"]'); ?>

    https://wordpress.org/plugins/wordpress-popular-posts/

  2. costyD
    Member
    Posted 5 months ago #

    +1 to this request

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic