Forums Forums Search & Filter Pro No Results or Can't Exclude Categories or…

Viewing 7 posts - 1 through 7 (of 7 total)
  • Anonymous
    #3816
    This reply has been marked as private.
    Ross Moderator
    #3820

    Hey Norm

    It sounds like we need to get (3) working and then see if you still have a category problem.

    This plugin uses the main loop in order to display results – by modifying your main loop.

    Therefor, your search results template must use the main loop in order to display results.

    Some themes (probably like your current one) sometime add a custom query to your templates – to be honest this is generally not best practise in my opinion anyway.

    You need to edit the template that is being used to display the results (I think the default would be “search.php”) and look out for any custom queries in there – normally something like “get_posts”, or “wp_query” or “query_posts” – in most cases you can simply remove the line(s) with this query and the rest should work ok?

    There have been a few posts popup recently about the category issue I’ll look further in to this, its possible its a bug created by a recent update.

    Thanks

    Anonymous
    #3825

    Thanks, Ross, I’ll play around some more and see if I can accomplish anything.

    Have to laugh at myself leaving out my site’s URL in my previous (private) post…as if the UN and PW alone would do you any good, LOL.

    Ross Moderator
    #3851

    Hahaha! I didn’t even realise 😉 Let me know how you get on anyway.

    Anonymous
    #3861
    This reply has been marked as private.
    Anonymous
    #3906

    Just an update, for anyone who cares. Or maybe for anyone using this plugin with Avada down the line.

    In the settings, selecting “use custom template” and designating “search.php” as the template does not return results.

    Also, NOT selecting “use custom template” returns results, but they’re completely UNFILTERED.

    Selecting “use custom template” but NOT entering the name of the template works! I think I figured out that, in this case, it’s using archive.php for the search results by default and leaving the template field blank allows it to do that. Naturally, entering archive.php in the template field works too.

    Based on the above, perhaps selecting “use custom template” but leaving the template field blank might be something those experiencing no results, or unfiltered results (even if they’re not using Avada), might try?

    Ross Moderator
    #3953

    Hey Norm apologies its been a bank holiday here in the uk which means no one went to work for the last 3 days, I’ll be going through all the support ticket backlog today and hopefully get some answers a little later on.

    Thanks

Viewing 7 posts - 1 through 7 (of 7 total)