Links to highlighted search results
-
First off, thank you for this great extension to the native WP Search functionality.
There is one thing I would love to be able to do to extend this further. I would really like to be able to make the search results clickable to take me directly to the highlighted result.
When search results populate I have highlights for the correct words but no post/ page titles and no way to link into these results. Just an excerpt from the entry containing the results.
All content has been added to one long post (the website is for a a web version of a printed booklet) and has been internally divided into pages using the
<!--pagebreak-->
call. Would this be a cause for confusing the search results or linkage.Ultimately it would be great if there was a way to do your search, then be able to click on a given word in the results to link through directly to that area of the site.
Please let me know if this is possible, or if there is anything I can add to the code to achieve this.
My php skills are fairly limited but I can follow instruction OK!
Thanks
Martin
- The topic ‘Links to highlighted search results’ is closed to new replies.