Forums › Forums › Search & Filter Pro › How to show Taxonomy title?
- This topic has 4 replies, 2 voices, and was last updated 8 years ago by
Trevor.
-
Trevor(Private) February 26, 2018 at 10:41 am #162095
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.
Trevor(Private) February 27, 2018 at 10:19 am #162393Stackexchange 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 phpThis one also:
https://wordpress.stackexchange.com/questions/131216/how-to-get-parent-category-slug-of-current-post
-
AuthorPosts