Forums Forums Search & Filter Pro Search results problems

Viewing 10 posts - 11 through 20 (of 25 total)
  • Anonymous
    #40669
    This reply has been marked as private.
    Ross Moderator
    #40670

    Hey Gino

    I am working on a solution, I’ll be in touch in the next hour or so to see if we can be ready in time.

    Thanks

    Anonymous
    #40671

    Thank you so much!

    Ross Moderator
    #40672
    This reply has been marked as private.
    Anonymous
    #40673

    The problem is it’s not returning actual filtered results. It’s returning all posts, regardless of the search term, and no pages.

    For example, if I search for “sovereign wealth funds”, a phrase found only on the About page, I get the same seven blog posts as you got.

    What DOES seem to work, are the dropdowns. If I select an author, the blog posts that return are only by that author. If I select a category, the correct categories return.

    So, it appears to be the search term box that is being ignored.

    Ross Moderator
    #40675

    Hi Gino

    Sorry I missed that.

    I just tested, search is working fine for me!

    So I went ahead, downloaded your copy of Divi, and your child theme..

    Although without the correct configuration (and all your plugins) the layout was messed up, I got a the shortcode display method working no issue at all..

    This leads me to believe there is something else in your setup is causing the issue.

    Have you tried the standard disabling plugins 1 by 1 to isolate the issue?

    I believe something else has a greedy pre_get_posts filter, which is also mistakenly modifying S&F queries – and removing the search term, and removing the post type pages from the query.

    Very odd indeed, but no conflict between your theme & S&F.

    Thanks

    Ross Moderator
    #40676

    Are there any divi specific plugins I should be installing?

    Anonymous
    #40678

    I will go back and try again, but I disabled all plugins last week and still got the same results.

    However, you’ve got me thinking a bit. I’m pulling in the shortcode into the header.php in my child theme like this:

    <div class=”et_search_outer”>
    <div class=”container et_search_form_container”>
    <div class=”searchcustom”><?php echo do_shortcode(‘[searchandfilter id=”2690″]’); ?></div>
    <span class=”et_close_search_field”></span>
    </div>
    </div>

    Would that have anything to do with it?

    Ross Moderator
    #40679

    No it shouldn’t….

    Do you have WP_DEBUG enabled? There is chance something is being thrown there..

    Instead of potentially lots of headache, why not try on a clean install, and install the plugins 1 by 1?

    Thanks

    Anonymous
    #40687

    Before I go with a clean install, I reverted the entire header.php file to the default and then placed the shortcode on the page in a temp block.

    The default search works. Same results with the filtered search.

    I turned on WP_DEBUG. There is an error shown in another plugin, but disabling that plugin makes no difference. Is there a log somewhere that we can review?

    I don’t know if that helps at all, but thought I would give that a shot.

    I will also do another WP install on a different test domain to see what that does.

Viewing 10 posts - 11 through 20 (of 25 total)