-
AuthorPosts
-
October 24, 2016 at 10:36 pm #703461
Hello. I’ve been working on a website that will have about 100 or so questions related to medical conditions. I’ve grouped many of them together though on the same page as I thought that many people would want to read related conditions etc and there are 20 or 30 on some pages?! You can navigate to particular sections using the menu bar and anchor tags- but when I try the search box it can see specific words on a page but only ever goes to the top of the page when these suggestions are clicked. I would like the search box to help people find a particular word on a particular page – not just the whole page.
Is this possible? Do I need to have 100 different pages? Any suggestions very welcome – thanks in advance.
JimOctober 26, 2016 at 7:47 pm #704498Hey Jim,
Pleases try using this more advanced search plugin – https://wordpress.org/plugins/relevanssi/
You can find Enfold implementation here – http://kriesi.at/documentation/enfold/use-relevanssi-in-search-instead-of-the-default-search/Best regards,
YigitOctober 26, 2016 at 11:14 pm #704570Hey Yigit,
Thanks for replying.
I’ve tried relevansii this evening but I’m still getting the same problem. Both the default search and relevansii are seeing the words I’m searching for but both take me to the top of the page that contains the word rather than that section itself. Some pages on my site have 20 or 30 paragraphs of information and I really want the search to go straight to the keyword. If it can’t be done that,s ok and I’ll break the pages up into smaller pages containing a paragraph or so each – but if I have to do this is there any way they can be “recombined ” with some kind of phpinclude to make a bigger page again if someone does want to scroll and read several paragraphs.best wishes
Jim
October 30, 2016 at 5:30 am #705751Hi!
I’m sorry but this is not possible with the default WordPress search function. You have to create a separate page for each section if you want them to be searchable. You can also add a fullwidth sub menu element or anchor links on top of the page so that users can browse through the sections in the page.
Cheers!
IsmaelOctober 30, 2016 at 11:14 am #705785Did u try to index first in the relevanssi settings? Moreover this is the code to connect relevannsi with search:
Relevanssi is good, but not as that good. i have found a plugin called “insta search” or so. Finds keywords too. This thing rocks.
- This reply was modified 8 years ago by Tobiy.
October 31, 2016 at 12:40 pm #706098November 8, 2016 at 10:51 am #709686thanks guys – I appreciate the advice.
-
AuthorPosts
- You must be logged in to reply to this topic.