WordPress.org

Ready to get started?Download WordPress

Forums

WordPress Popular Posts
[resolved] Exclude Pages? (6 posts)

  1. ElloMoto
    Member
    Posted 1 year ago #

    Hello everyone,

    Is there a way to exclude pages?

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

  2. Héctor Cabrera
    Member
    Plugin Author

    Posted 1 year ago #

    Hi there,

    Yes. If you're using the latest version of the plugin:

    # Widget: change Post type to post and save.

    # [WPP] shortcode / wpp_get_mostpopular() template tag: use the parameter post_type and set it to post (eg. wpp_get_mostpopular('post_type=post')).

  3. ElloMoto
    Member
    Posted 1 year ago #

    Sorry, I didn't ask the right question.

    I meant exclude certain pages. There are some pages which I don't want included.

    And if it's not a default feature, is there some changes I can make?

  4. Héctor Cabrera
    Member
    Plugin Author

    Posted 1 year ago #

    Ah, that's a different story. No, unfortunately there's no way to achieve that as the plugin doesn't offer this functionality. Other people have asked this in the past days, so I might just include it in the next release.

  5. tncclubman
    Member
    Posted 8 months ago #

    i notcied this was 5 months ago and you mentioned you'd add this. did you ever get around to allowing us to exclude certain pages?

  6. Héctor Cabrera
    Member
    Plugin Author

    Posted 8 months ago #

    Actually, yes: since WPP v2.3.3, you can exclude both posts and pages by ID. For that, use the field "Post(s) ID(s) to exclude" (widget only); or via the pid parameter if you're using either the wpp shortcode or the wpp_get_mostpopular() template tag.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.