Forums Forums Search & Filter Pro Checkbox Tags not searching properly

Viewing 8 posts - 11 through 18 (of 18 total)
  • Anonymous
    #35436

    I think the interference might be coming from $category_videos. If there is a way to disable this (I don’t want it anyways), it would probably solve the problem with S&F Pro. However there is no way to disable it in the theme options. Is there something I can edit to remove it?

    Ross Moderator
    #35451
    This reply has been marked as private.
    Anonymous
    #35457
    This reply has been marked as private.
    Ross Moderator
    #35482
    This reply has been marked as private.
    Anonymous
    #35517

    Okay thank you so much. I appreciate your dedication!

    Ross Moderator
    #35590
    This reply has been marked as private.
    Ross Moderator
    #35592

    Ok I figured out the issue.

    In your search form you have “detect defaults from current page” set to true.

    Which is fine.

    This means if you are on a tag, category or taxonomy archive, S&F will preselect the correct options in the search form itself.

    So with this setting enabled, S&F will use the standard wordpress function for checking if the current page is a taxonomy archive (or tag or cat)

    https://codex.wordpress.org/Function_Reference/is_tax

    If true, then it will try to select defaults.

    For some reason, when on the search page, is_tax is being set to true, so for some reason WP thinks this is a taxonomy archive.

    Whats even stranger is, the standard WordPress search page:

    http://www.supercringe.com/?s=a

    Is also being picked up as a taxonomy archive – this cannot be true!

    Therefor there is something in your code that is incorrectly modifying your queries or setting these parameters so even WordPress cannot properly detect if the current page is a taxonomy archive or not – and if WP is unable to do this, the S&F certainly cannot.

    Either you must resolve the issue in your theme (or other plugin), or disable this option in Search & Filter.

    Thanks

    Anonymous
    #35648

    I really appreciate the help and extra length you went through to identify the problem. Go ahead and mark this as resolved and I’ll get the issue sorted out.

Viewing 8 posts - 11 through 18 (of 18 total)