Is it possible to sort a [pass taxonomy_loop]?
-
By the way, the Pass Taxonomy Loop works awesome!
Is it possible to sort the Pass Taxonomy Loop by the taxonomy {TERM_NAME}? I tried adding the orderby=”term” tag to the [pass] shortcode but it didn’t work. I also tried order=”asc” but that didn’t work either.
Here’s a demo page I have been working on so you can see what I mean. Look at the US Government Units section on the right.
Here’s my code in case you need it.
<h3>US Government Units</h3> [pass taxonomy_loop="unit_title" order="asc"] <strong>{TERM_NAME}</strong><br> [loop type="lessons_bundles" taxonomy="content_area" value="us-government" compare="and" taxonomy_2="lesson_type" value_2="unit-lessons" taxonomy_3="unit_title" value_3="{TERM_NAME}" list="true" orderby="title"] <ul><li>– <a href="[field url]" target="_blank">[field title]</a></li></ul> [/loop] <br> [/pass]
Thanks!
Jerrad
Viewing 11 replies - 1 through 11 (of 11 total)
Viewing 11 replies - 1 through 11 (of 11 total)
- The topic ‘Is it possible to sort a [pass taxonomy_loop]?’ is closed to new replies.