This topic contains 5 replies, has 2 voices, and was last updated by
- June 24, 2019 at 11:30 am #23251
I’m trying to understand how to search the page’s content (that’s hard coded in my worpdress site). Is this possible?
Also I will be converting the hard coded content into ACF fields for backend input – does this plugin work with ACF content??
A second question I have is whether I can add custom classes to the results? Ideally my aim is to structure the results with bootstrap 4 responsive classes if possible?
Ben.June 24, 2019 at 12:28 pm #23254
Well, if you mean reaturning the page contents as individual results (page parts as results), then that is unfortunately not possible, as those are stored as a single page within the WordPress database.
If you mean searching the page contents and returning the corresponding page, for example contents that are printed via shortcodes and not immediately present as text in the database, that might be possible, via using the Index Table engine. If you follow the steps within those documentations, it should do the trick.
You can make minor changes to the results templates, via results templating. That way you can add additional classes, other attributes, as well as elements if needed.Best,
If you like my products, don't forget to rate them on codecanyon :)
June 27, 2019 at 6:02 pm #23467You cannot access this content.June 28, 2019 at 9:07 am #23490June 28, 2019 at 9:45 am #23492
All the best 😀June 28, 2019 at 9:48 am #23493
You must be logged in to reply to this topic.