Support » Plugin: Search & Filter » Feature Request: Custom Fields

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author DesignsAndCode

    (@designsandcode)

    Hey hursey thanks for the feedback,

    I’m not sure how this would work.. can you explain the idea in a bit more detail??

    Thread Starter hursey013

    (@hursey013)

    I have a custom post type called “job_listing” it has a title and normal page content, but it also has some additional custom fields associated with it such as “company name” and “location”. It seems like WP’s default search only compares keywords against the page title & content – I would like to be able to also search some custom fields like my company name and location fields from the search box of Search & Filter – does that make sense?

    Plugin Author DesignsAndCode

    (@designsandcode)

    Hey hursey it does!

    The Search & Filter plugin doesn’t really modify any search queries itself (its more of a URL re-writer) so will use the default functionality of how the wordpress search works.

    This means it plays nice with other plugins that do modify how wordpress search works – I am currently using Search & Filter with Relevanssi to search custom fields and works really well 🙂

    Let me know how you get on.

    Thread Starter hursey013

    (@hursey013)

    You are exactly right. The Search & Filter and Relevanssi combo is pretty powerful and exactly what I needed – thank you!

    Hi, this what I need but I can’t figure it out. I’ve already uploaded and activated both plugins: Search & Filter and Relevanssi.

    I don’t know what to do at this point.

    I filled this out, but doesn’t show on the front end.

    Custom fields to index:
    A comma-separated list of custom fields to include in the index. Set to ‘visible’ to index all visible custom fields and to ‘all’ to index all custom fields, also those starting with a ‘_’ character.

    Please step by step instructions if you can. I would appreciate it.

    Plugin Author DesignsAndCode

    (@designsandcode)

    Hey sbwebmaster, are you still stuck? Did you check out the docs? Should be quite simple to use a shortcode but I can help you if you need

    http://docs.designsandcode.com/search-filter/

    Thanks

    Just to further on what sbwebmaster wrote, I’m also confused with your description of the “Custom fields to index:” field.

    I’ve entered in my custom fields (meta_key) that i’d like to have indexed, but have no clue what you mean by “Set to ‘visible’ to index all visible custom fields and to ‘all’ to index all custom fields, also those starting with a ‘_’ character”. Where does one set the ‘visible or ‘all’, and does that need to be set?

    Could you elaborate?

    Thanks! Great Plugin!

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Feature Request: Custom Fields’ is closed to new replies.