Forums Forums Search & Filter Pro Results only show posts from one custom post types

Viewing 7 posts - 1 through 7 (of 7 total)
  • Anonymous
    #136999
    This reply has been marked as private.
    Trevor
    #137068

    It is because you had a sort order based on a meta key (popularity) and not all posts have a value (and are excluded if they do not). I have set this back to default to show you this.

    Anonymous
    #137087

    I see!

    But that should not matter right because it is checked to go with the Relevanssi search setting instead of Search and Filter search setting?

    Thanks!

    Anonymous
    #137089

    Also, when I uncheck the checkbox for Relevanssi search setting then I still get no results here http://foxdesign-staging.pixeltokig.se/sokresultat/?_sf_s=hls.

    Thanks!

    Trevor
    #137104

    I will answer these last two posts in turn, if that is OK?

    Post #137087. When using a text search only, the results will still be pre-filtered and sorted according to the form settings, so it does matter.

    Post #137089. You will get no results because a standard text box search looks only in standard posts and pages, not CPT’s, I believe.

    Anonymous
    #137256

    Thanks for the great reply!

    > Post #137087. When using a text search only, the results will still be pre-filtered and sorted according to the form settings, so it does matter.

    I see! Thanks for the clarification!

    > Post #137089. You will get no results because a standard text box search looks only in standard posts and pages, not CPT’s, I believe.

    So Search and Filter text field search does not support custom post types? If we want to use a text field search with Search and Filter then we have to also install Relevanssi?

    Thanks!

    Trevor
    #137336

    S&F should search the CPTs. I do not understand why it is not. You can see it doing this in the Movies demo. All S&F Pro does is to tell the WordPress search to look in CPTs, and then hands the search off to WordPress to receive back an array of the post IDs that match. It the filters those based on rules you have set in the form settings.

    If it is finding nothing when not using Relevanssi, then something is not right. Either WordPress has been told to ignore the CPTs (you can exclude a CPT from searches when you set them up), or something in the form settings is causing it, or the cache needs rebuilding after you switch off support for Relevanssi.

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