Forums Forums Search & Filter Pro Trying to display search results on same page

Tagged: , ,

Viewing 10 posts - 1 through 10 (of 12 total)
  • Anonymous
    #195168

    I am really struggling to figure out how to display the search results on the same page within my template. I am not using the same theme but I believe I would be able to generally figure it out if given some sort of guidance. It’s incredibly frustrating to not be able to find any examples for replicating the demo beside what is provided. Code samples would be incredibly helpful!

    Anonymous
    #195173

    Okay! I was able to successfully display the posts using shortcodes and have replicated the results.php page to customize the html. All of that looks fine, it’s just that I seem to be having some issues with Ajax and submitting my search. The auto search does not load the category I have selected and neither does the submit button. The Results Url is correct (the same page I have the shortcodes listed) I’m not sure what else could be wrong.

    Trevor
    #195204
    This reply has been marked as private.
    Anonymous
    #195244
    This reply has been marked as private.
    Anonymous
    #195246

    Also, I’m pretty sure this is because the shortcode is not working properly on my page but I was hoping to load the results without having to re-load the page. As of now it’s looking like on submit the page reloads.

    Trevor
    #195250

    The first thing to do, before we try anything else, is to see if your hosting (WP Engine) is the issue.

    There is a setting to override a ‘feature’ of WP Engine hosting, that truncates long SQL queries (which ours are). Edit the site wp-config.php file and add this at the top, after line 1 (on a new line 2):

    define(‘WPE_GOVERNOR’, false);

    PLEASE DO NOT COPY code from the email you receive for this reply, as email systems sometimes alter the quote marks and encode some characters; instead copy it from the actual forum page.

    (also see here for another related support note about this – https://support.searchandfilter.com/forums/topic/killed-query-errors-in-log/#post-64826)

    Anonymous
    #195252
    This reply has been marked as private.
    Trevor
    #195254

    I am not familiar with that process. I normally just use ftp to edit the file.

    Anonymous
    #195261
    This reply has been marked as private.
    Trevor
    #195330
    This reply has been marked as private.
Viewing 10 posts - 1 through 10 (of 12 total)