Using [each], how to sort/order by?
-
Hi ??
Using the awesome relationsship features of pods, I’m listing related materials in this template snippet:
<ul> [each ma-pi] <li><a href="/{@ma-pi.post_name}">{@ma-pi.post_title}</a></li> [/each] </ul>
The output is as on the linked page. Is it possible to apple a “order by” to the [each] command?
I tried editing the Additional Field Options of the pod itself, there is a field called “Customized ORDER BY”. Tried with “title”, “post_title” and “post_title ASC” – no change.
Any ideas?
The page I need help with: [log in to see the link]
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Using [each], how to sort/order by?’ is closed to new replies.