Support » Plugin: Custom Post Type UI » Listing by Taxonomy

  • Resolved barlee

    (@barlee)


    Hi,

    What is the best way to have my listing display on a page based on their taxonomy?

Viewing 1 replies (of 1 total)
  • Plugin Author Michael Beckwith

    (@tw2113)

    The BenchPresser

    Probably a custom WP Query of some sort, though it has caveats.

    WordPress doesn’t have any easy way to list all posts that have *any* term from a given taxonomy. Not like they do all posts from a given post type and seeing that type of archive. What WP core always does is provide archives based on posts that have specific terms in the taxonomy.

    So the custom query or however other way you may find, will probably include fetching all the terms available in the taxonomy and then telling WP to fetch all the posts with all those terms.

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.