Forums Forums Search & Filter Pro No results

Viewing 9 posts - 1 through 9 (of 9 total)
  • Ross Moderator
    #10734

    Hi Marc

    Do you have a link I could look at? You can post private messages here.

    I would suggest that you test with displaying your results as shortcode – only for the purpose of testing whether you get correct results.

    If you do, then we know there is something interfering with the archive method which shouldn’t be hard to fix.

    Thanks

    Anonymous
    #10882

    Hi there,

    thanks for the quick answer.
    i don’t really get what you mean by ‘displaying your results as shortcode’

    anyway, i set up a page for you:
    http://www.quesecueceenbcn.com/test-sf/

    Anonymous
    #10939
    This reply has been marked as private.
    Ross Moderator
    #11008

    Hey Marc

    It seems like your theme is not using the loop correctly – or for some reason it uses a custom query on your results page overwriting the loop…

    S&F uses the loop (naturally, its WordPress standards) – so you must make a modification to the template that is being used to display results..

    Take a look at these threads which have recommendations on how to do this:

    https://support.searchandfilter.com/forums/topic/problems-with-search-filter-plugin-and-avada-theme/#post-9200

    https://support.searchandfilter.com/forums/topic/not-working-with-some-themes/#post-7505 (you are not using a shortcode to display results) – this is slightly out of date but still relevant

    Let me know how you get on.

    Thanks

    Anonymous
    #11009
    This reply has been marked as private.
    Ross Moderator
    #11028

    Hey Marc

    Can you try with 2014 and using their template? I know this 100% works and 2015 should too.

    Also, in regards to your template above, it is not really a compliant template as it need to call the wordpress functions for header and footer (http://codex.wordpress.org/Function_Reference/get_header / http://codex.wordpress.org/Function_Reference/get_footer) – these must be used so scripts are loaded properly.

    If the above does not work, then I would also recommend disabling all other plugins to see if we can find a problem there.

    Thanks

    Anonymous
    #11141

    Hi Ross,

    Ok, I got something. I went back and forth activating and deactivating all of the plugins, and the problem is with The Events Calendar. When this plugin is active, Search & Filter can’t find results, otherwise works as expected.

    Any experience/knowledge on that?

    (Let me remark that S&F does not return results independently of marking or not the Events custom post type for listing results in the General Settings of the Edit Search Form page)

    Ross Moderator
    #11151

    Hey Marc

    It sounds like the events plugin is modifying the main queries using pre_get_posts .

    Sometimes a loose hook on pre_get_posts means that all queries are modified by mistake instead of only when its needed.

    For example, in the early stages of this plugin, the settings on pre_get_posts were too slack and it interfered with some user’s navigation being shown (as that is another query that can be modified using that function).

    My suspicion is that this plugin may be too loose and not restrictive on which queries it modifies.

    I would check to make sure you are using the latest version of that plugin (as well as S&F) and if possible ask them if this is the case.

    The thing is, if you were to add a pre_get_posts yourself (if you were customising your theme for example) I believe their plugin may also interfere here.

    They may have a workaround or a solution for this in their docs or support forums so I would check – as this would be a common issue.

    If I find the time I will have a look at that plugin and do some tests but a bit bogged down atm.

    Thanks

    Anonymous
    #11297

    Thanks Ross.

    I will ask them, try to find another events plugin or some other workaround.
    Let me know if you have further info on this.

    (i deactivated the enabled test page of a previous post)

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