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.
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Cookie Policy. If you continue to use this site, you consent to our use of cookies.