WordPress.org

Forums

Yet Another Related Posts Plugin (YARPP)
[resolved] some filter for post types (4 posts)

  1. thomask
    Member
    Posted 2 years ago #

    I'm trying to figure out, if there is some filter for post types. I know i can call the function with post type specified, but i would prefer to use default widget and just call some widget so it would use post+my_custom_post_type. I am traversing the functions but i cannot find anything relevant

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

  2. mitcho (Michael Yoshitaka Erlewine)
    Member
    Plugin Author

    Posted 2 years ago #

    There's no filter like this right now, but I suggest you add 'yarpp_support' => true to your custom post type definition, then use the "Display results from all post types" option.

  3. thomask
    Member
    Posted 2 years ago #

    1. it is not easy to add anything to custom post type definitions as many users are using some plugins to create CPT's

    2. I do not see anywhere "Display results from all post types" option, not even with advanced plugin

  4. mitcho (Michael Yoshitaka Erlewine)
    Member
    Plugin Author

    Posted 2 years ago #

    For (1), I suggest contacting the author of the CPT-creating plugin to consider adding YARPP support.

    For (2), that option is in the "Relatedness" options, which may be hidden. Go to "screen options" in the top right of the screen to display it.

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

Tags

No tags yet.