i’m styling at the moment a homepage and there was a recurring text on top of each page/post (you will see it on the private part)
if i’m searching for one of these words in that text every page is listed in search results
How can i avoid the listing if this word is only mentioned in the recurring text?
Hey Guenter!
Thank you for using Enfold.
I’m not sure if this is possible but try to exclude the keywords by using this plugin: https://wordpress.org/plugins/relevanssi/
You also have to implement this code: http://kriesi.at/documentation/enfold/use-relevanssi-in-search-instead-of-the-default-search/
Cheers!
Ismael
excluding the keywords is not the right way – because if the word is in the content the searchresults should list the page/post – but only than.
Excluding pages from beeing considered is easy – but i thougt there might be a trick to exclude special divs from beeing considered in the search.
(f.e. exclude all div.nosearch )
The thing is clear what i want ? If you got a sloagen on every Page beneath the header for example.
These words of the sloagen must be findable – but if only the word is in that sloagen the search results page must not list them.
Hi!
that can’t be done easily and would be out of our support scope. You need to search a plugin with such a function or hire a freelance developer.
Best regards,
Andy
thanks – can be closed now.
Hi!
Glad you got it solved!
Let us know for anything else
Regards,
Basilis