[Resolved] Question on the “magic tags” (short-codes) in Elements > Header

Home Forums Support Question on the “magic tags” (short-codes) in Elements > Header

  • This topic has 5 replies, 2 voices, and was last updated 1 month ago by David.
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
  • #1410730

    In GP, there’s a great feature where you can pull out WP metadata like this:


    This works great, but this does not:


    The page I am running this {{post_terms.taxonomy}} is to pull the “category” slug for the page but it doesn’t work. I tried:


    And no joy.

    Is there something I am doing wrong?

    Also, in the ideal world I’ve love to add the same magic tag to a URL like this:


    So, in summary, what do I need to do to:

    1. Make it work to show the category slug?
    2. Embed it in a URL?


    Customer Support

    Hi there,

    you would use this:


    as category is the taxonomy you want to be displayed.

    This is not something you can add to a URL – that would be defined by your Permalink structure or an SEO plugin


    ok thanks, sorry David, I’m being a bit slow, can you give me an example?

    I guess my question is – what are “post_terms” is there a list of them that you can share? Thanks

    Customer Support

    Taxonomies can be Categories or Tags or a Custom taxonomy if you like e.g books.

    When you +new category to your post you’re creating a new Category > Post Term.
    Likewise +new tag your creating a new Tags > Term

    So adding this template tag to the header element:


    will display all the category > terms for the current post.


    Thanks for your help.

    Customer Support
Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.