Is there a wordpress plugin that can allow search limited to one single page?

I have created a FAQ page and I need a search plugin that would allow me to add a search box at the top of the page and search only that page. So basically I need a search plugin for Wordpress that either searches only one page or is able to limit search results per page. It would be great if the search field could be added via a shortcode.

thanks in advance
badwolfffAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Ray PaseurCommented:
If you're using this in a web browser, there is a browser built-in.  On windows it's Ctrl-f and there is an equivalent Mac command.  No need to write or install code at all.
0
badwolfffAuthor Commented:
It's got to be on the site
0
Jason C. LevineNo oneCommented:
There isn't a WordPress plugin to do this as far as I know.  All of the search plugins report the entire page as a result, not a section of the page, so any solution you work with won't jump the user to the specific section anyway.

I think the best you could do with a plugin is restrict it to the single page and use search term highlighting (Relevanssi and SearchWP both can do this, IIRC). The next trick would be limiting results to one Page ID, but I think that's do-able.

So Ray's right in that Control-F is the best way to search a loaded page on the screen.  However, if you wanted to make each section of the FAQ it's own object, then you could use any number of search plugins.  

The non-WordPress way to do it would be to add some JQuery plugins that would mimic the behavior of Control-F and/or term highlighting:

http://johannburkard.de/blog/programming/javascript/highlight-javascript-text-higlighting-jquery-plugin.html

https://github.com/riklomas/quicksearch
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Loganathan NatarajanLAMP DeveloperCommented:
I support for @Ray's suggestion about ctrl +F ... you can just put note about this on top of the page. so everyone can follow that.

In case if you need FAQ plugin to have search, try this, https://wordpress.org/plugins/spider-FAQ/screenshots/

I had installed this for one of my internal customer for his product website.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
WordPress

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.