WordPress.com Popular Posts
Category ID not working (1 post)

  1. SpidermanPuddin
    Posted 5 years ago #

    The following will not display any posts.

    $cat = get_query_var('cat');
    WPPP_show_popular_posts( 'title=&number=20&days=90&show=posts&format=<a href="%post_permalink%" title="%post_title_attribute%">%post_title%</a>&category='.$cat.'' );

    The only way I can get it to work is to do category=0. Even doing category=41 does not work (assuming it's an active category).


Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WordPress.com Popular Posts
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

  • RSS feed for this topic
  • Started 5 years ago by SpidermanPuddin
  • This topic is not resolved
  • WordPress version: 3.0.4