My recent tickets are all related and haven't really been resolved satisfactorily because they have left me ignorant - I'll take the blame an remain polite, but I would like to know how to do specific things that are not obvious and are not explained in the documentation.
This was one ticket. https://toolset.com/forums/topic/highlighting-search-results-text-relevanssi-generated-excerpts/page/2/
My question was "Please could you send me a private link to show me where you added the shortcode?" (or just tell me)
Response: "I didnt added any shortcode - I just called it. The shortcode resides in functions.php file of your theme which you already added."
I understand it is the functions.php file, but I want to be able to call it myself so please can you explain how and where because the changeover to blocks makes it difficult to follow you, the documentation and training videos.
Thank you.
Hi Shane,
Please hide this conversation:
In the screen shot the titles in blue francais & anglais are just labels.
It is the two Dynamic Heading Text below each of them which show Contrat & Contract here.
In these Headings a word that is searched for in the search field should be shown as highlighted in yellow.
If you go to dashboard and search for "contract" in Admin search you will see what I mean as it highlights the fields there.
Thanks.
Bill
Essentially how this shortcode is suppose to work is that you will need to wrap your entire content inside it for the highlight to work.
This is feasible using the block builder for the archives however you will need to do your entire content in the classic editor block and do your entire design in that block by wrapping the content with the highlight shortcode.
Essentially you will need to replace all your content inside the container block with just 1 classic editor block and inside that block you will need to re-add your content using the fields and views button.
If you're not sure of what i'm referring to I can setup a small sample for you in the archive but you will need to re-add the rest of your missing content.
Hello Shane,
Glad you can see what is going on.
That sounds like a solution to the problem I gave you, but the initial solution isn't perhaps what I'm looking for then and I'm not going to redo everything again as I have already lost the work twice before (See view not found ticket) and this could not be resolved.
If it is ok with you, I would like to look at this again from a different angle.
NB please could you delete or make the screenshot & two replies #2171973& #2172551 private.
Would you like me to close this ticket and start another one as I am going to change the subject?
Thanks.
Bill