Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › Maintain term hierarchy does not work
This topic contains 5 replies, has 2 voices, and was last updated by Ernest Marcinko 2 years ago.
- AuthorPosts
- February 24, 2021 at 5:20 pm #31784
Hi,
After today’s update, I noticed “Maintain term hierarchy” does not work.
Frontend Search Setting ->Categories & Taxonomy Terms -> Maintain term hierarchyIt only show child category.
Thanks.
Attachments:
You must be logged in to view attached files.February 25, 2021 at 9:56 am #31793Hi,
It does not look like it is that option causing the issue there. When I am logged in the terms are printed just fine, so there is something else conflicting there.
Best,
Can you please add temporary FTP access, so I can check what is going on? Thank you!
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
February 27, 2021 at 10:40 am #31842You cannot access this content.March 1, 2021 at 2:59 pm #31859You cannot access this content. Best,
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
March 2, 2021 at 9:21 am #31882You cannot access this content.March 2, 2021 at 3:57 pm #31906Hi,
Thank you!
The issue was caused by something else, probably a 3rd party code or plugin. There is a filter applied on the get_terms hook, which removes some of the taxonomy terms when the plugin requests them. I put the following code to the functions.php file in your theme directory.
add_action('asp_pre_parse_filters', 'asp_remove_get_terms_filters', 10); function asp_remove_get_terms_filters() { remove_all_filters('get_terms'); }
I recommend keeping it there. It would be however better to locate the code causing the original issue.
Best,
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
- AuthorPosts
You must be logged in to reply to this topic.