Searching Table of Contents – Elementor Widget

Ivory Search Forums Support Searching Table of Contents – Elementor Widget

Viewing 3 reply threads

You must be logged in to create new topic or reply to the topic.

  • Author
    Posts
    • #19403
      cocuyos
      Participant
      • Topics: 1
      • Replies: 3

      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.

    • #19408
      Ivory Search
      Keymaster
      • Topics: 0
      • Replies: 1,748

      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

      • #19412
        cocuyos
        Participant
        • Topics: 1
        • Replies: 3

        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.
    • #19425
      Ivory Search
      Keymaster
      • Topics: 0
      • Replies: 1,748

      It seems the TOC is generated dynamically therefore the plugin can’t find it.

      • #19428
        cocuyos
        Participant
        • Topics: 1
        • Replies: 3

        No hope then?

      • #19429
        cocuyos
        Participant
        • Topics: 1
        • Replies: 3

        Is it possible to tell the plugin to search for specific tags then? In my example to search for the tags H1, H2, H2, H4? Would accomplish the same. Please advise. Thanks again!

    • #19434
      Ivory Search
      Keymaster
      • Topics: 0
      • Replies: 1,748

      No, it is not possible without developing custom code.

Viewing 3 reply threads

You must be logged in to create new topic or reply to the topic.