Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #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 box

    Any ideas as to why the taxonomy filter is not working with this theme?

    #255571

    Hi 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,
    Ismael

    #255598
    This reply has been marked as private.
    #256753

    Hey!

    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

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.