WordPress.org

Forums

Ultimate WP Query Search Filter
Apostrophe searches return no results (2 posts)

  1. mowder
    Member
    Posted 1 year ago #

    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/

  2. TC.K
    Member
    Plugin Author

    Posted 1 year ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Ultimate WP Query Search Filter
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.