WordPress.org

Ready to get started?Download WordPress

Forums

WordPress Popular Posts
[resolved] Remove Pages from WPP (noob) (6 posts)

  1. Agrajag27
    Member
    Posted 1 year ago #

    Hector, thanks for the very functional plugin. I'm not a WP coder so I'm not at all clear how to go about changing the setup so that WPP won't include my About and Contact pages in the most popular posts list. I believe I need to set:

    post_type=post

    However, I'm not at all clear about where to do this! Can you point me in the right direction?

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

  2. Héctor Cabrera
    Member
    Plugin Author

    Posted 1 year ago #

    Hi there,

    Here's an example posted a couple of days ago.

  3. Agrajag27
    Member
    Posted 1 year ago #

    Thanks Hector, but can you tell me what file I add the PHP to?

  4. Héctor Cabrera
    Member
    Plugin Author

    Posted 1 year ago #

    It depends on where you want to show it, mostly. For example, if you want the list to be displayed on your blog's sidebar, you'd need to edit your theme's sidebar.php and add the code there.

    There's also the possibility of using the WPP widget, which IMHO is easier to manipulate than using the PHP code. Does your current theme support widgets? If so, head to Appeareance > Widgets, pick WordPress Popular Posts and drag it onto your sidebar - after that, you'll be able to configure it to your liking.

  5. Agrajag27
    Member
    Posted 1 year ago #

    I do have it as a sidebar and my theme does support it nicely (blog.pcserenity.com) and somehow I missed that. I was seeing everything but that. Thanks for the stupidity-bump-to-the-head. Much needed.

  6. Héctor Cabrera
    Member
    Plugin Author

    Posted 1 year ago #

    No problem. Enjoy the plugin!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.