Forums › Forums › Search & Filter Pro › Taxonomy Template Form
- This topic has 8 replies, 2 voices, and was last updated 6 years, 4 months ago by
Trevor.
-
Anonymous(Private) October 31, 2018 at 9:42 am #192288
HI,
We have a custom post type called FAQ. That post type has a taxonomy called Faq Categories.
At the moment we have a standard WordPress page set up with the shortcode & results shortcode from our form using ajax. This is working fine. We have styled our results.php file how we want.
However, we also want to display the same form and results style on our custom taxonomy template but obviously only show results for the current tern. eg.
faq_category/financial shows only the financial results with the a, using ajax, and our results.php styling / layout.
Is it possible to have the form limit the results to just the current term and use Ajax?
Thanks
Adam
Trevor(Private) November 1, 2018 at 3:53 pm #192517You would probably need these settings checked (see screenshots and the highlighted sections. Note that set like this, you would be using the category archive templates:
https://www.screencast.com/t/bFsQjDwyl
https://www.screencast.com/t/rMnG9HgFL
And, as I said, the taxonomy itself must be in the form, even if you then use custom CSS to hide it.
Anonymous(Private) November 2, 2018 at 9:34 am #192549hi Trevor,
We have set the settings up as suggested and also added the taxonomy. We haven’t hid it just yet to ensure it is working properly before we do, but now we have no results displaying at all. Has archive is set top true on the post type and we have read the Post Type Archive page in the documentation but are still unable to get results to show?
Thanks
Adam
-
AuthorPosts