Forums Forums Search & Filter Pro Search form erasing results in other forms?

Viewing 9 posts - 1 through 9 (of 9 total)
  • Anonymous
    #243545

    Hi! I’m new using the plugin so probably there’s something I’m missing out!

    I have two child pages of a page, each of them has a search form, where it’s showing results for a different custom post type based on some ACF fields. It’s working awesome.

    But, if I add a new search form to the parent page, which is just filtering the ‘post’ post type, if I go back to the child pages, I only see ‘No results found’.

    If I delete the parent page search form, everything goes back to normal. But if it’s active, it’s as if the query of that form is affecting the other ones and then it’s not finding anything.

    Any clue about what could be happening?

    Just to be clear:

    Parent Page – S&F to search ‘Post’ post type
    – Child Page – S&F to search ‘Event’ post type based on some ACF fields
    – Child Page – S&F to search ‘Class’ post type based on some ACF fields

    I’m adding the S&F forms via shortcode, adding them to custom templates that just have the do_shortcode() for each page.

    Thanks for your help!

    Anonymous
    #243573

    I’ve been testing a little more. It seems it only doesn’t work when the parent page query is set to ‘search in the following post types: Posts’. If I change that to another CPT, everything works fine.

    Also it’s not even necessary that I’m ‘painting’ that search form, just being there in the admin is messing with the other two… If it goes to the trash, everything’s fine. If I change the CPT, everything works.

    I’ll keep you updated, thanks!

    Trevor
    #243618
    This reply has been marked as private.
    Anonymous
    #243623
    This reply has been marked as private.
    Anonymous
    #243625
    This reply has been marked as private.
    Trevor
    #243745
    This reply has been marked as private.
    Anonymous
    #243749
    This reply has been marked as private.
    Anonymous
    #243806
    This reply has been marked as private.
    Trevor
    #243809

    It might have been something in the theme core functions/code stopping it. Thanks for letting me know. I will close this thread for now.

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