This is something we used to do all the time on CCS, but I can’t see how to do it here. Basically we’re just after the L&L version of:
[if type=my_custom_post_type]
…
[/if]
For example, if we have something like:
<Loop type=cpt_one,cpt_two,cpt_three>
<If type="cpt_one">
Output specific to cpt_one
<Else />
Output for when it's not cpt_one
</If>
</Loop>
I’ve looked through the documentation and seen there’s this:
<If singular type="cpt_one">
But I believe that’s for use on a single post rather than within the loop? Either way I tried it and it didn’t work.