- This topic has 4 replies, 2 voices, and was last updated 8 years, 1 month ago by .
Viewing 5 posts - 1 through 5 (of 5 total)
Viewing 5 posts - 1 through 5 (of 5 total)
These forums are now closed and remain for historical purposes.
None of the content applies to the new version 3. For support, get in touch via our contact form.
Forums › Forums › Search & Filter Pro › How to show Taxonomy title?
This documentation may be what you are looking for (note, if you are using Ajax to refresh the page, any such output of the query needs to be inside the Ajax container):
https://www.designsandcode.com/documentation/search-filter-pro/accessing-search-data/
There are many snippets also on this forum. Try this search:
https://support.searchandfilter.com/forums/search/current_query/
You need to fetch the values from the taxonomy form fields. Be aware that some search terms will be held as arrays, and not single strings/values.
Stackexchange would be where I would look, for example:
https://stackoverflow.com/questions/19961130/wordpress-how-to-get-parent-category-id
But there are many other snippets as well. Isearched for:
site:http://wordpress.stackexchange.com find the parent category php
This one also:
https://wordpress.stackexchange.com/questions/131216/how-to-get-parent-category-slug-of-current-post