No Results in Search

Forums › Forums › Search & Filter Pro › No Results in Search

Viewing 10 posts – 1 through 10 (of 11 total)
  • Anonymous
    #37097

    Hello,

    I am trying to display any results using OR. I have the following settings:

    General:
    Search in the following post types: Posts, Portfolio
    Field relationships: OR

    Display Results:
    Display results method: Using a Shortcode
    Results URL: http://dev.workforcesoftware.com/resources/
    Load results using Ajax? Yes
    Only use Ajax on the results page? Yes

    Tags, Categories & Taxonomies:
    Categories: Include – IDs for Categories to display
    Tags: Include – IDs for Tags to display
    Industry (custom taxonomy): Include – IDs for Industries to display

    Do you have any idea?

    Ross Moderator
    #37152

    Hey Colette

    It sounds like a conflict in your tab “tags, categories and taxonomies”

    Can you do a test, where there all settings have been removed on this tab?

    Thanks

    Anonymous
    #37218

    Hi Ross,

    It works when I do not include specific Categories, Tags, or Industry IDs. It shows all posts.

    Ross Moderator
    #37219

    So you must look at these settings and figure out what is wrong.

    Somewhere there is a conflict.

    For example, if I INCLUDE tags, categories and taxonomies it means that only results that belong to the tags chosen, categories chosen AND Taxonomies chosen are displayed.

    If for example a post belongs to a specific category, lets say “uncategorized” but does not have any industry assigned, it will never show in the results if some industries are INLCUDED – include is like saying “MUST BELONG” to one one of the IDs for each field.

    Thanks

    Anonymous
    #37272

    Hi Ross,

    Okay, I think I understand. Is there a way to display posts if they do not have an industry assigned. So if there is a post in the “Brochure” Category that has a Tag “Mobile” but no Industry, wouldn’t the OR operator enable the post to display. Meaning that it has 1 or more attributes. If I Exclude instead of Include shouldn’t matter. There will be Resources that might not fit into any Industry. How could I handle that? Check them all for that Post?

    Anonymous
    #37340

    Actually I think it is the custom post type that I have created that is sharing the same “Categories” and “Tags” as standard Posts.

    ‘taxonomies’ => array(‘category’, ‘post_tag’, ‘industry’),

    Anonymous
    #37345

    I don’t know i removed the “Portfolio” custom post type as an option in search and it still doesn’t work.

    Ross Moderator
    #37385
    This reply has been marked as private.
    Anonymous
    #37444

    Hi Ross,

    Thanks for the help. I figured it out and it was the custom post type Portfolio. I am going to have to convert all of the Portfolio Posts to WP Posts for this to work. Take care:)

    Ross Moderator
    #37453

    Ok Colette, sounds odd though.

    S&F should work with regular posts and custom post types the same.

    Thanks

Viewing 10 posts – 1 through 10 (of 11 total)

Search & Filter Support
Privacy Overview

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.

We also use cookies to store items in your cart as well as allowing your to login on the site.

You can adjust all of your cookie settings by navigating the tabs on the left hand side.

By continuing to use this site, you also agree to our Privacy Policy.