WordPress.org

Ready to get started?Download WordPress

Forums

Yet Another Related Posts Plugin (YARPP)
[resolved] Can the Post types considered be modified? (6 posts)

  1. Arley McBlain
    Member
    Posted 1 year ago #

    The settings show "Post types considered" and have text for Pages, Posts, and Media.

    I'm curious if these could be changed? It would be sweet if these were checkboxxy, and could be selected.

    (I know I'm posting a lot lately, I'm using this plugin on a couple projects).

    Thanks!

    http://wordpress.org/extend/plugins/yet-another-related-posts-plugin/

  2. Arley McBlain
    Member
    Posted 1 year ago #

    I'm totally willing to modify the template - I really need to exempt pages and media! I want to only show related "posts" type... on pages.

  3. collab
    Member
    Posted 1 year ago #

    I'm also working on a project where I need the same functionality.
    Filter by post type and showing two widgets, one for pages and another for posts.

    Any light to get this done?
    Thanks,
    M

  4. Arley McBlain
    Member
    Posted 1 year ago #

    I had a peek at the plugin files, and it's not like there's a simple wp_query where I can just remove the word "page". I think you're right, it's some kind of filter that's needed. I'm a front end though, and this stuff is just a bit out of my reach.

  5. Arley McBlain
    Member
    Posted 1 year ago #

    Editing this plugin will always be beyond me!

    The solution I'm going for is more work for the content people of the site I'm doing, but it's the only 100% way to not have related pages show up. I'm using a Manual Related Post plugin.

    http://wordpress.org/extend/plugins/baw-manual-related-posts/

    Good luck!

  6. mitcho (Michael Yoshitaka Erlewine)
    Member
    Plugin Author

    Posted 1 year ago #

    Hi all -- the things you're asking to do can already be done using the YARPP API. See the readme's section on "custom displays" which explains the use of the API. You can create custom displays and explicitly specify the post types for each call of the function.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.