-
AuthorPosts
-
April 24, 2014 at 9:13 am #255384
I have a taxonomy filter on my site that I use to filer posts.
This filter works if I switch the theme to genesis. When I select an author for example it will filter to just that authors posts by producing the URL http://website.com/?post_type=post&authors=brennan-rt&s=
The same URL using the Enfold theme brings up a empty page that says;
New Search
If you are not happy with the results below please do another search
and then a search boxAny ideas as to why the taxonomy filter is not working with this theme?
April 24, 2014 at 3:55 pm #255571Hi jhmpcsolutions!
Thank you for visiting the support forum!
I’m sorry but we’re not certain of the issue. What is the filter plugin or scripts that you’re using? A link to your website will help. Regretfully, we cannot provide support for third party plugins or scripts as stated on our support policy. Because of this, any questions you have regarding setup, integration, or troubleshooting any piece of functionality that is not included on the theme package will need to be directed to the plugin or script author.
Best regards,
IsmaelApril 24, 2014 at 5:02 pm #255598This reply has been marked as private.April 27, 2014 at 10:01 am #256753Hey!
I recommend to try a different blog layout (single author or multi author). The grid layout uses a custom post query which is probably not compatible with the filter widget because the widget only affects the main wordpress query. If you want to use the grid blog layout you would need to modify the code in enfold\config-templatebuilder\avia-shortcodes\postslider.php and implement the query parameters of the taxonomy widget. I recommend to hire a freelancer for this job if necessary.
Update – I just noticed that the ?s= parameter is set but empty. It breaks the filter because our theme thinks it’s a search query. I recommend to remove ?s= or &s= from the taxonomy url or try to insert this code into the child theme functions.php file:
add_action('after_setup_theme','avia_remove_search_query'); function avia_remove_search_query(){ remove_filter('pre_get_posts', 'avia_search_query_filter'); }
Best regards,
Peter -
AuthorPosts
- You must be logged in to reply to this topic.