• Hi,

    I have created a custom post type called “produtcs” with a registered taxonomy called “product_category”.

    I have just a few products in this post type, with just a few terms in that taxonomy. I want to show all the products in one page, with links to my custom taxonomy, and when one taxonomy link is clicked, the page is reloaded and just the products of the clicked term of taxonomy are listed, in the same page if is possible, I know that I can create one “archive-products.php” and an “taxonomy-product_category.php”, but the codes are duplicated, and I dont like it.

    Any idea of how to do it?

    Thanks and sorry my english, I’m learning yet.

  • The topic ‘Can I display a custom post archive and a custom taxonomy filter in same page?’ is closed to new replies.