• I have a Taxonomy called City, Custom Post named School and i have city names as taxonomy terms. Now i want to display schools[custom posts] from a single term [city]. I have searched and found the only option out there is by creating template files with names taxonomy-{taxonomy}-term.php or taxonomy-{taxonomy}.php to display a particular taxonomy.
    problem is i have 30 terms, that’s saying i must write 30 templates of taxonomy-{taxonomy}-term.php to display that term while praying there will be no more cities to add. I think that is not a good way of doing it. Can someone pls help?

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Displaying posts from a single Taxonomy term’ is closed to new replies.