WordPress.org

Support

Support » Plugins and Hacks » Apostrophe searches return no results

Apostrophe searches return no results

  • I’m using your plugin as a simple search form on our site http://www.gotomyrtlebeach.com and it is working great, however anytime I search for something with an apostrophe in the name (i.e. Ripley’s Aquarium) it returns no results.

    I feel like this must be related to the type of apostrophe being used but I’m not sure how to combat this. It seems the search field of your plugin defualts to using a hash mark (like this ‘ ) whereas the titles of my wordpress posts use an apostrophe ( like this ’ ) despite using the same key to type them.

    Any thoughts on the matter would be greatly appreciated.

    Thanks!

    https://wordpress.org/plugins/ultimate-wp-query-search-filter/

Viewing 1 replies (of 1 total)
  • Plugin Author TC.K

    @wp_dummy

    Unfortunately yes, it is the apostrophe that caused the problem. It is a bug in wp_query default class.
    There are no fix yet so far.

Viewing 1 replies (of 1 total)
  • The topic ‘Apostrophe searches return no results’ is closed to new replies.