Pass Taxonomy as Variable?
-
Hi. I have a custom taxonomy created called “State Taxonomy.” I am trying to pass it as a usable variable to the loop, and then grab other posts (of CPT “City”) that have a matching State Taxonomy. Code below nets no results.
[pass taxonomy=state_taxonomy] [loop type=city taxonomy=state_taxonomy term={TERM} count=12 orderby=rand] [field title-link] [/loop] [/pass]
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘Pass Taxonomy as Variable?’ is closed to new replies.