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

  1. Arley McBlain
    Posted 3 years 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).



  2. Arley McBlain
    Posted 3 years 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
    Posted 3 years 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?

  4. Arley McBlain
    Posted 3 years 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
    Posted 3 years 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.


    Good luck!

  6. mitcho (Michael Yoshitaka Erlewine)
    Plugin Author

    Posted 3 years 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

  • Yet Another Related Posts Plugin (YARPP)
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.