• Hey guys,

    first of all, you developed a rly nice plugin, thank you for that!
    I have one problem and I need your help:

    I want to display child-child (is that right?) taxonomies of a parent taxonomie in a single post. The taxonomie hierarchy looks like that in the moment: “Movies -> Reviews -> Comedy, Action” and I only want to display “Genre: Comedy, Action” in the single post.

    You understand me? I tried a lot but all wasnt right – maybe you can help me?

    https://ww.wp.xz.cn/plugins/custom-content-shortcode/

Viewing 1 replies (of 1 total)
  • Plugin Author Eliot Akira

    (@miyarakira)

    The following seems to achieve what you described:

    [for each=taxonomy_name parents=true]
      [-for each=child]
        [--for each=child trim=true]
          [each name],
        [/--for]
      [/-for]
    [/for]

    This only works if the post has terms in each level from parent to “grandchild”.

Viewing 1 replies (of 1 total)

The topic ‘Help: Display child-child taxonomy on posts’ is closed to new replies.