• Resolved Marcel

    (@mgringo)


    I have a taxonomy “transport_categorie” and there are 3 categories in it.

    I want for each active “transport_categorie” a bullet

    How can I do this.

    `[each transport_categorie]

    • {@transport_categorie.slug}/{@post_title}
    • [/each]

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Jory Hogeveen

    (@keraweb)

    You can do this by adding HTML markup:

    
    <ul>
    [each transport_categorie]
    <li>{@transport_categorie.slug}/{@post_title}</li>
    [/each]
    </ul>
    
    Thread Starter Marcel

    (@mgringo)

    Oke Thanks, so far I got this.

    But now I have In 3 different categories 3 (same)articles only different content depend on categorie. So at the bottom of this page i want to navigate to the other pages.

    Categorie A / article 1
    Categorie B / article 1
    Categorie C / article 1

    Is this possible on each page so you can switch between those pages?

    Plugin Author Jory Hogeveen

    (@keraweb)

    Hi @mgringo

    Not sure what you mean with this.
    Is “article 1” the same article? Or is it a different post?
    And how are these linked to eachother?

    Cheers, Jory

    Thread Starter Marcel

    (@mgringo)

    Jory,

    Ik heb 3 pagina’s genaamd “koeriersdiensten”
    maar elk zitten in een ander categorie. De teksten per verschillen dus per “Koeriersdienst”-pagina in elk categorie

    dus bijvoorbeeld
    home/categorie-a/koeriersdienst
    home/categorie-b/koeriersdienst
    home/categorie-c/koeriersdienst

    Deze linken wil ik dus onderaan elk koeriersdienst pagina hebben zodat men kan switchen tussen deze 3 pagina’s

    En zo zijn er dus meerdere van deze pagina’s, vandaar dat ik dit wil automatiseren

    Plugin Author Jory Hogeveen

    (@keraweb)

    Hallo @mgringo

    Gezien dit een Engels forum is graag ook Engels reageren, zo kunnen andere mensen hier mogelijk ook profijt van hebben.

    This will require you to link these pages to each other through a relationship field.
    You should add a bi-directional relationship field to this post type and use that to link the posts.

    Once that is done you can loop through these relationships like so:

    
    <ul>
    [each relationship_field_name]
    <li><a href="{@permalink}">{@post_title}</a></li>
    [/each]
    </ul>
    

    For more info about relationships and other Pods fields, please check our introduction video: https://docs.pods.io/videos/grow-beyond-posts-pages-introduction-pods-framework/

    Cheers, Jory

    • This reply was modified 4 years, 3 months ago by Jory Hogeveen.
    Thread Starter Marcel

    (@mgringo)

    Sorry was easier for me to explane this for you ??

    won’t happen again!

    Plugin Author Jory Hogeveen

    (@keraweb)

    No worries! Totally understand ??

    Hope my answer was helpful, let me know!

    Cheers, Jory

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘For each taxonomy show LI’ is closed to new replies.