I would like to index accordian and tab content for search results. I am using Relevanssi for search. I have a set of 6 tabs and each tab contains an accordian. I would like search results to go directly to the respective accordian. Relevanssi support indicates that I need to add the custom field for the accordians so it can index their content. Currently, the search results direct you to the first tab only, not the specific accordian. So, the search is essentially worthless.
Relevanssi asks for this information: “Custom fields to index: __________” What should the custom field be?
Thank you for the help.
Thank you for using Enfold.
I’m sorry but I don’t think that’s possible because the default wp search script or template cannot return sections or specific content inside a page. It can only index the actual post types like page, portfolio, posts, products etc. Please contact the plugin author for more info.