WordPress.org

Ready to get started?Download WordPress

Forums

Yet Another Related Posts Plugin (YARPP)
[resolved] YARPP, Custom Post Types and EDD (3 posts)

  1. Julian Magnone
    Member
    Posted 7 months ago #

    Hi,

    I am a big fan of YARPP and using it for almost every project. Recently I came to the need to display related posts for Custom Post Types. I appreciate that you have support for this but I am not able to display the related posts for the "download" custom post type of EasyDigitalDownloads.

    The EDD plugin already registered the custom post type so I tried to use add_post_type_support in order to add the support for yarpp_support, but it displays "No related posts" all the time.

    I also tried different yarpp_related parameters, my latest attempt was this http://pastebin.com/hxBUjKQN without any luck. I assumed that the arguments in this function overrides any other post type setting or should yarpp_support being registered even if I use the custom arguments?

    I really need an advice on this and it will be strongly appreciated.

    Thanks,

    Julian

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

  2. jeffparker
    Member
    Plugin Author

    Posted 7 months ago #

    YARPP supports custom post types if they are user-created. For themes and plugins that automatically register custom post types, please reach out to the theme or plugin creator to find out how to add YARPP support. Thanks.

  3. Julian Magnone
    Member
    Posted 7 months ago #

    Hi Jeff.

    Ok, thank you for your reply. But may I ask you a little more about the way yarpp_support works? Isn't add_post_type_support (function in WordPress) an alternative to add the yarpp_support instead of register post type?

    Thanks.

Reply

You must log in to post.

About this Plugin

About this Topic