Hopefully a simple question/answer…
I’m trying to display the name of a Custom Post Type in the search results by altering the Advanced Description Field and including a {custom_field_name}.
For example, we have a number of CPT including Announcements, Articles, Case Studies, Product Notes, Trends & Insights, etc. Customers searching the site need to be able to identify the type of post to help them find the correct information they need.
I’ve tried a number of options…
__name
__post
__post_name
__post_type
wpv-post-type (from Toolset plugin) e.g. {wpv_post_type}: {descriptionfield}
… but haven’t been able to guess at the correct name.
Is there a shortcut name for the post type?
Thanks, Daryl