Taxonomy-related posts in single.php
-
Here’s what I’m looking to do:
1. Grab a taxonomy value from the post
2. Create a query based on that value
3. Create a loop based on that querySpecifically, I’ve got a taxonomy called “client” and I want there to be “Other work for this client” that appears below the post in single.php. This loop will display all other posts that share the same value in the “client” taxonomy.
I’ve seen multiple threads about creating loops based on a taxonomy query, but they all require you to assign the taxonomy value manually. I need the value to be grabbed from the current post.
Thanks in advance.
- The topic ‘Taxonomy-related posts in single.php’ is closed to new replies.