• Resolved ahbdigital

    (@ahbdigital)


    Hello,

    I would like to add a custom post as support in another custom post.
    By default in the support section you can only add the categories of the CP but not the custom post itself.
    I have tried using the slug in Custom “Supports” but it does not seem to work

    I have made screenshots to explain the problem better.
    I would like to use the CP “hebergements” as support in “regions” posts.
    Here is the screenshot of CP “hebergements”
    https://incensy.com/hebergement.png
    And the one for “regions”
    https://incensy.com/regions.png

    Thank you very much for your help.

    Regards.
    Antoine

Viewing 1 replies (of 1 total)
  • Plugin Contributor Michael Beckwith

    (@tw2113)

    The BenchPresser

    I can’t say I’ve ever seen a setup of a post type being a support of some sort of a different post type wherein you’re specifying Post Type Y as part of the registration arguments for Post Type X.

    The “custom supports” section is really just a spot to allow for some functionality to be added where other plugins say “when registering your post type, add this custom detail from our plugin to the ‘supports’ section”. There’s a bit more detail about that over at https://docs.pluginize.com/article/28-third-party-support-upon-registration

    All that said, perhaps I’d understand the attempts here better if I knew what you were ultimately trying to achieve. What reason are you trying to tie two separate post types together for?

Viewing 1 replies (of 1 total)
  • The topic ‘Add CP as support in another CP’ is closed to new replies.