How would I test to determine the custom post type for a post?
I’m trying to display search results differently for each CPT.
My search results template has a posts module with a custom layout. I want to test each post to determine its CPT. i.e.
[wpbb-if ... custom post type ="dogs"
show these fields ...
[/wpbb-if]
[wpbb-if ... custom post type ="cats"
etc.
Cheers, Richard