WordPress.org

Support

Support » Plugins and Hacks » Won't search array.

Won't search array.

  • Hello, I’m struggling to get the plugin to search a custom field with multiple values,

    I have multiple answers in a meta field named Audience

    <?php echo implode(', ', get_field('audience')); ?>

    But when I choose one of the selections (with a Comparison Keyword set to ‘Like’) it doesn’t find the item I am looking for.

    e.g. I have a custom field called Audience, in it are 10 different possible selections. I select three, and they display as Staff, Public, Members (etc with ‘,’)

    I go to my search page with a drop down, look for Staff under ‘Audience’, click search and it returns nothing.

    The Audience Comparison Keyword is set to LIKE.

    I’ve tested the WordPress default search and it works fine.

    Any help appreciated, thanks!

    http://wordpress.org/extend/plugins/advance-wp-query-search-filter/

Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Won't search array.’ is closed to new replies.