• Resolved petervandijck

    (@petervandijck)


    Hi,

    I hope anyone can help me. I tried to use Custom Content Shorcode to find a solution to my problem, that is I just want a list of all possible post tags that are in my website. I was able to make a loop of posts an display there tags, but thats not what I would like to do. I made a loop to see all possible types, but tags is a taxonomy. So can you use that too?

    So, can i use this plugin, or is there a better way? (not using php code)

    Thanks, Peter van Dijck

    • This topic was modified 2 years, 4 months ago by petervandijck.

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • You can use a shortcode like:

    [for each=post_tag] 
    Tag: [each link]<br />
    [/for]

    Take a look at Settings > Custom Content > Taxonomy.

    Thread Starter petervandijck

    (@petervandijck)

    Hi Peter,

    Thanks, that works, still I dont understand it all.
    I tried:
    Test Post_tag
    [for each=post_tag]
    Tag: [each link]
    [/for]

    Still it looks that every output is in between <p> </P> for every output line.
    How can I get the output in 1 line?
    See: https://petervandijck.nl/T1/test/

    Thanks, Peter

    Thread Starter petervandijck

    (@petervandijck)

    Then I tried the [raw], but still it seems that my page editor (WP Backery Pagebuilder) prevents me of having unformatted output.
    I tried:
    Test Post_tag with RAW in outputline
    [for each=post_tag]
    [raw][each link] – [/raw]
    [/for]
    ( here I still see <br> inspecting the output page 🙁 )

    and
    Test Post_tag with RAW outside for each
    [raw]
    [for each=post_tag]
    [each link] –
    [/for]
    [/raw]
    (here the raw seems not to do anything)

    https://petervandijck.nl/T1/test/
    Am I using it worng?
    Regards, Peter

    Thread Starter petervandijck

    (@petervandijck)

    I found a strange solution, but i works.
    I just put all the code in 1 line in the editor

    Test Post_tag with all code in a single editor line
    [raw][for each=post_tag order=ASC][each link], [/for][/raw]

    see: https://petervandijck.nl/T1/test/
    Happy sunday 🙂

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘List of all tags possible?’ is closed to new replies.