Forums

Relevanssi - A Better Search
Search a custom field without a term (3 posts)

  1. Jens Wedin
    Member
    Posted 8 months ago #

    Hi

    Is there a possibility to search a custom field value without adding a term

    This will work
    http://chwisgi.com/?s=bowmore&customfield_key=age&customfield_value=21

    but not this

    http://chwisgi.com/?s=&customfield_key=age&customfield_value=21

    Is there a possibility to add a wild card in any way or search without the term?

    http://wordpress.org/extend/plugins/relevanssi/

  2. msaari
    Member
    Posted 8 months ago #

    No - that's not a search, that's just a general database query. I'm not sure if an empty search term even triggers Relevanssi, which relies on is_search() conditional function.

    I suppose it could be possible to add a wild card search term that would be disregarded - I'll have to investigate.

  3. Jens Wedin
    Member
    Posted 8 months ago #

    Thanks for your time to investigate this.

Reply

You must log in to post.

About this Plugin

About this Topic

Tags