Support

Account

Home Forums General Issues Custom post type category selector in a new page Reply To: Custom post type category selector in a new page

  • If you’re using a page template to show testimonials then there is not automatic filtering of categories. In order to provide a select field or some other mechanism on this page you would need to build the page to filter by some type of url query string value. See the “Dynamic $_GET parameters” section of this page https://www.advancedcustomfields.com/resources/query-posts-custom-fields/ Without doing this there is nothing passed to your page template that will let you filter the posts.

    If you use a custom taxonomy, for example let’s say you name it “testimonial-category” and you create a template for this taxonomy as I mentioned then WP will use this template files and automatically filter the testimonials for you and you simply need to link to that page. For example http://yoursite.com/tesimonial-category/doors/. This template file would work the same as the standard archives.php, category.php or tag.php file.