Support » Plugin: Yet Another Related Posts Plugin (YARPP) » Can the Post types considered be modified?

Viewing 5 replies - 1 through 5 (of 5 total)
  • 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.



    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?

    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.

    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!

    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.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Can the Post types considered be modified?’ is closed to new replies.