Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #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.
    Jim

    #704498

    Hey 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,
    Yigit

    #704570

    Hey 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

    #705751

    Hi!

    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!
    Ismael

    #705785

    Did 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 7 years, 5 months ago by Tobiy.
    #706098

    Hi,

    @Tobiy Thank you for your input! :)

    Best regards,
    Yigit

    #709686

    thanks guys – I appreciate the advice.

Viewing 7 posts - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.