WordPress.org

Forums

Searching with Quotes (3 posts)

  1. BrianBaker
    Member
    Posted 9 years ago #

    When using the Search box if I search for "Example Search Term" in quotes it returns \\\ Example Search Term\\\ when I echo $s on the page and doesn't find any documents. In the url it is %22Example+Search+Term%22

    It seems like a common method for searching and I was wondering if there was a plugin for searching with quotes. I've searched heavily and all I've found is random quotes plugins and similar.

  2. The search is for phrases. No need for quotes.

  3. BrianBaker
    Member
    Posted 9 years ago #

    I guess I'll just strip the quotes from searches. I don't want people to use quotes then see a bunch of slashes.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags