Index accordion search results in WordPress search

Ticket for: Accordions Combo
0
Index accordion search results in WordPress search 1
Anonymous
Jun 16, 2021 02:41 AM 1 Answers
Member Since Jan 1970
Unsolved Solved Mark as Solved Mark as Unsolved
Subscribed Subscribe Not subscribe
Flag(0)

Hello! We're using the Accordion Pro plugin and the separate search box added above the accordions works great, but the content/links within the accordions don't show up on an overall site search. Is there a way to index the accordion text to show up in the overall site search? Thank you!

0 Subscribers
Submit Answer
Please login to submit answer.
1 Answers
Sort By:
Best Answer
0
Index accordion search results in WordPress search 2
PickPlugins
Jun 18, 2021
Flag(0)

Welcome to our forum.

Please add following code to your theme fuxntions.php file.

https://gist.github.com/pickplugins/d5cb5e5c2c847b12829d0ab7539c8c0e

Index accordion search results in WordPress search 3
PickPlugins
- Jun 18, 2021 01:30 AM
Flag (0)
0

also you will need to enable “Enable accordions preview” under the settings page

https://imgur.com/BONvfqr

Sign in to Reply
Replying as Submit