• Resolved zigorob

    (@zigorob)


    Hi All,

    Hello, I’m new to Pods but I really like it, and I’m trying to learn.

    I have a CPT made with Pods, with related taxonomies also made in Pods, and I need to display the selected taxonomies within the post, for example ‘colours: yellow, red, blue’ or similar.

    Is there a way to do this?

    Thanks in advance for any help.

    rob

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hey! It sounds like you might be looking for Pods templates? I’m no expert either so take this with a grain of salt, but the way I’d personally go about this would be to:

    [if colour]
    [each colour]
    <li class="tslistitem"><a href="https://yourdomain.com/specialization/{@slug}">{@name}</a></li>

    [/each]
    [/if]
    • After that, all you have to do is find a way to insert this into the template for your custom post type using a shortcode like [[pods template=”colour”], and your colors should be correctly displayed 🙂
    • Or you could turn on Pods auto templating if you want to use Pods for templating your custom post type as well, but from your initial post I get the impression that you have something set up for templating already, so I’ll just link this for future reference: https://docs.pods.io/displaying-pods/pods-templates/auto-templates/

    I hope that this helps achieve what you’re looking for! Please let me know if there’s any other questions you have and I’ll do my best to answer.

    • This reply was modified 4 months, 1 week ago by Rainbow Forge. Reason: Added link to magic tags docs
    Thread Starter zigorob

    (@zigorob)

    Thank you for your reply and suggestions. I will try to follow this path and see what I can do.

    Thanks again.

Viewing 2 replies - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.