Dynamic Passing of Tax Terms
-
Hi Bill
Is it possible to pass a value from an ACF field to a tax term in a display-posts query?
For example, I’ve got something like the following set-up:
[display-posts layout=”bulletin” posts_per_page=”1″ post_type=”article” taxonomy=”section” tax_term=”hos” taxonomy_2=”issue” tax_2_term=”issue-16″ tax_relation=”AND” order=”desc” post_status=”private,publish”]
Since I have multiple similar but different queries set up on the same page, each referencing tax_2_term=”issue-16″, I’d like to be able to instead include tax_2_term=”[acf field=’issue’]”, which would then feed the same value contained in the ACF field on this page, updated in this one place, to all those queries. Alas, I’ve tested this as above and it doesn’t work.
Thoughts?
Many thanks
Trevor
- The topic ‘Dynamic Passing of Tax Terms’ is closed to new replies.