Ivory Search › Forums › Support › Searching Table of Contents – Elementor Widget
- This topic has 6 replies, 2 voices, and was last updated 8 months, 3 weeks ago by Ivory Search.
You must be logged in to create new topic or reply to the topic. Click To Login
- AuthorPosts
- February 22, 2024 at 4:45 AM #19403
Is it possible for Ivory Search to search what appears on a table of contents(TOC)?
I have posts that automatically generate a TOC based on the headings used on the post content. Instead of searching the entire post content I want to search a subset of the post content, just the TOC.
For example, let’s say I have 10 posts and each post has a TOC. Only 2 posts have the word XYZ on their TOC, but the word XYZ appears on all 10 posts through the entire post content (TOC and body text). When I search for XYZ , I only want to see the 2 posts that have XYZ on its TOC.
I am using the Elementor Pro widget and I do not know how to go about this. Please advise.
- February 22, 2024 at 3:17 PM #19408
I hope you are well today and thank you for your question.
Could you please tell me with screenshots of how you are generating the TOC and where have you saved it in the WordPress database so I can help you?
Best regards,
Ivory Search Support- February 23, 2024 at 3:05 AM #19412
Thank you for your reply. Please see attached images. I have not done anything special to save the TOC in the WordPress database, I assume it is saved the same way everything else is. Is there anything specific I should be looking for?
Attachments:
You must be logged in to view attached files.
- February 23, 2024 at 10:01 PM #19425
It seems the TOC is generated dynamically therefore the plugin can’t find it.
- February 24, 2024 at 3:32 PM #19434
No, it is not possible without developing custom code.
- AuthorPosts
You must be logged in to create new topic or reply to the topic. Click To Login