Can Relevanssi index a custom post Pods auto template which uses a shortcode
-
Sorry for the convolution here…
I have a custom post type (made with Pods) called Journals – which is not excluded from search.
I have another custom post type (Pod) called Articles – which is excluded from search because this only has a few fields.The Journals page uses a Pods Template which lays out the page with Journals fields at top of page, and then the Pods Template calls a Shortcode which displays all the Articles from that Journal. A bit like this:
Journal Title - Journal date ============================= Article 1 - page - author Article 2 - page - author Article 3 - page - author
I have Relevanssi set to expand Shortcodes.
Looking at the debugger for one of the Journal pages. , it seems to be only indexing the Journal fields and not the Articles (whose content appears on the Journal page via the shortcode).
I’d like a search on ‘Article 1’ to find the relevant journal page, and exclude the Article 1 page.
Any pointers?
many thanks
- The topic ‘Can Relevanssi index a custom post Pods auto template which uses a shortcode’ is closed to new replies.