Support » Plugin: Pods - Custom Content Types and Fields » How to order Pods Taxonomies by Name

  • Resolved rafafeuer

    (@rafafeuer)


    Hello,
    I have been using pods for a little wile now. it have been very helpful, since my PHP knowledge is basically none.

    With pods templates I was able to create a archive page for displaying Brands taxonomies. However, I was not able to order them alphabetically.

    I’m using this code:
    [pods name=”letra” limit=”-1″ template=”Marcas Arquivo”]

    Marcas Arquivo template has:

    [before]
    [pods name=”letra” limit=”-1″ template=”Marcas Barra”]
    [/before]

    [if marca]
    <div class=”marca” id=”m{@slug}”>
    <h2>{@name}</h2>
    [each marca]
    <p>{@name}</p>

    [/each]
    </div>
    [else]
    [/if]

    Thanks, Rafael

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

Viewing 1 replies (of 1 total)
  • Plugin Author Jim True

    (@jimtrue)

    If letra is your taxonomy, you would add orderby="name ASC" to that shortcode.

    Well, to both of them actually.

Viewing 1 replies (of 1 total)
  • The topic ‘How to order Pods Taxonomies by Name’ is closed to new replies.