WordPress.org

Ready to get started?Download WordPress

Forums

Custom Post Type UI
yarpp support true (7 posts)

  1. erikhermansen
    Member
    Posted 5 months ago #

    Hi

    I'm having trouble implementing YARPP (http://wordpress.org/plugins/yet-another-related-posts-plugin/) with CPT UI.

    The issue here is that for YARPP to support custom post types, i need to add the following line when creating the post type:
    'yarpp_support' => true

    Which to my knowledge is not an option in CPT UI.

    Can i add this line after creating the post type? Or is there any way to be able to add when creating new CPT's?

    Thanks. Erik

    https://wordpress.org/plugins/custom-post-type-ui/

  2. Michael Beckwith
    Member
    Plugin Author

    Posted 5 months ago #

    Looks like the best bet you have is the "Get code" functionality that CPTUI offers. It'll get you code that can be added to your functions.php file to have it registered there. I can't think of any other way.

  3. koroikoroi
    Member
    Posted 3 months ago #

    Hi Michael,

    Is there any plan to include a feature for adding custom params (such as the mentioned YARPP param)?

    Thanks

  4. Michael Beckwith
    Member
    Plugin Author

    Posted 3 months ago #

    I really need to get this plugin picked up again for development, to be honest. I was going well for awhile and the *plop*

    I'd need to investigate how to actually do what's needed, but at best I think I'd end up with some sort of filter going on for that. It wouldn't be an immediate integration for everyone, but someone would be able to hook into the right spot on their own.

  5. koroikoroi
    Member
    Posted 3 months ago #

    Hi Michael,

    Just a suggestion, may be you could go for a simple approach by providing key-value fields, which users can fill in at their own risk.

    In this case, the user can fill in 'yarpp_support" as the key and true (boolean) as the value.

    Regards

  6. Michael Beckwith
    Member
    Plugin Author

    Posted 3 months ago #

  7. koroikoroi
    Member
    Posted 3 months ago #

    Cool, thank you

Reply

You must log in to post.

About this Plugin

About this Topic

Tags