• Resolved wmassjunction

    (@wmassjunction)


    Hi,

    I doubt this is actually a problem with CPT UI as opposed to Elementor but I figured I would post just in case.

    I’ve been trying to build something with Elementor 2.0 using dynamic content. When I first build the page the “Post Terms” drop down shows all of the custom terms I’ve created with CPT UI but then when I publish it and go back to edit those terms are gone and only the default WP terms are visible.

    I contacted Elementor’s support and they suggested I add ‘show_in_nav_menus’ => true to the taxonomy registry but I assume that is taken care of by selecting yes in the taxonomy setup.

    I’m waiting to hear back from the folks at Elementor but if you have any idea I would greatly appreciate it.

    Evan

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

    (@tw2113)

    The BenchPresser

    based on the codex, the “show_in_nav_menus” defaults to the “public” argument if not explicitly set. That said, when in doubt, it never hurts to explicitly set it, especially if it helps get you on your way with their plugin/setup.

    show_in_nav_menus
        (boolean) (optional) true makes this taxonomy available for selection in navigation menus.
    
    Default: if not set, defaults to value of public argument
    
    Thread Starter wmassjunction

    (@wmassjunction)

    Um, ok. I’m still a little confused. Do I need to set it for every taxonomy individually? I searched for taxonomy within the functions.php and didn’t find any instances of it. The link the elementor rep sent me has all the coding information about the taxonomy register but isn’t the point of CPT UI to not have to mess with that? I thought the options I chose between while setting up the taxonomies took care of that.

    I have no idea where to put this or how to set it up. I’m not a coder and only know the basics.

    Thread Starter wmassjunction

    (@wmassjunction)

    I just looked through the Get Code tab in CPT UI and every taxonomy seems to have show_in_nav_menus set to yes. Do I need to assert it somewhere else too? Again, I think this is probably an issue with Elementor whether they want to admit it or not.

    Plugin Contributor Michael Beckwith

    (@tw2113)

    The BenchPresser

    In terms of CPTUI, there should be a dropdown of “true/false” to use “show in nav menus” which you just need to select which you want, which is going to be “true” in this case. Unless you have a huge amount of taxonomies, setting this via CPTUI’s UI should be pretty straightforward and quick. Regarding the “Get Code” section, we’re likely correctly detecting that it’s at least public, and outputting that value.

    I can’t say anything for any taxonomies registered outside of our plugin, so I can’t really help you there. I am able to help point out the spots needed for the ones created with our plugin at least.

    Thread Starter wmassjunction

    (@wmassjunction)

    All the taxonomies were created in CPTUI and I selected true for every one of them. I do have a lot of taxonomies, is that possibly part of the problem? Should I cut and paste the code from the Get Code tab into the functions.php? It doesn’t seem to be in there.

    Thanks for your help.

    Thread Starter wmassjunction

    (@wmassjunction)

    The other thing I forgot to mention is that the terms are visible in Anywhere Elementor Pro, just not through the dynamic content drop down for standard elementor elements. Thats why I think its a problem on Elementors end with accessing them.

    Plugin Contributor Michael Beckwith

    (@tw2113)

    The BenchPresser

    Then you’re set for what parts we cover, and any lingering issues are likely on Elementor’s side.

    I’m not claiming “a lot” unless you have 20+, and I’ve seen people with 100 post types registered with our plugin. ??

    No need to cut/paste anything anywhere unless you’re not wanting to use CPTUI for the management. We take care of everything that putting into your functions.php would do.

    Thread Starter wmassjunction

    (@wmassjunction)

    Great, thanks. That’s what I figured. Now at least I can tell the Elementor folks that I asked these questions. I’ll bug them now. Thanks for all the help. I really appreciate the fast and continued responses. The ease of creating taxonomies with CPT UI has been a huge help.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Custom Tags as Dynamic Content in Elementor 2.0’ is closed to new replies.