WordPress.org

Forums

WordPress Popular Posts
[resolved] [Plugin: WordPress Popular Posts] V2.3.0 includes pages in 'Popular Posts'. How to exclude (5 posts)

  1. MelanieB
    Member
    Posted 2 years ago #

    Hi!

    I updated to v2.3.0 today and discovered that it now includes PAGES in the top 10 'popular posts.' I deactivated it & went back to using v2.2.1 because I don't want my pages to show up in the list.

    Is there any way that pages can be excluded?

    Thanks,
    Melanie

    http://wordpress.org/extend/plugins/wordpress-popular-posts/

  2. Hector Cabrera
    Member
    Plugin Author

    Posted 2 years ago #

    Hi Melanie,

    In the post type filter, change the value to post and save. That should do it.

  3. MelanieB
    Member
    Posted 2 years ago #

    Hi, H├ęctor! Thank you for your quick reply.

    Where can I find the 'post type filter'? I don't see anything in the 'Tools' settings. Do I have to edit the code?

    Thanks,
    Melanie

  4. Hector Cabrera
    Member
    Plugin Author

    Posted 2 years ago #

    Melanie,

    If you're using the widget, simply go to Widgets > WordPress Popular Posts and do as instructed above. If you're using either the template tag wpp_get_mostpopular() or the [wpp] shortcode, you need to pass them an extra parameter to achieve that. For example:

    wpp_get_mostpopular('post_type=post');
    
    // or ...
    
    [wpp post_type=post]
  5. MelanieB
    Member
    Posted 2 years ago #

    Thank you so much! I'm sorry to reply so late. Everything works fine now with this plugin!

Topic Closed

This topic has been closed to new replies.

About this Plugin

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

About this Topic

Tags

No tags yet.