WordPress.org

Ready to get started?Download WordPress

Forums

WordPress Popular Posts
Filter by Tags instead of Categories (1 post)

  1. cleeyesindeed
    Member
    Posted 4 months 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/

Reply

You must log in to post.

About this Plugin

About this Topic

  • RSS feed for this topic
  • Started 4 months ago by cleeyesindeed
  • This topic is not resolved
  • WordPress version: 3.8.1