I started using the YARPP on a site that I use custom post types. I register my CPT and I already see it on my "The Pool", but my issue is the following:
What I want to do is show only related posts on posts, and *only* related CPTs on CPTs.
However, when I use
<?php related_posts(); ?> only posts are shown (so if I add it to the single.php, that sort of fixes the first half of my issue) but when I use
<?php related_entries(); ?> both related posts and CPT's are displayed.
I was wondering if there was any sort of
<?php related_posts(type='XXXXX'); ?> variant that will allow me to add it on the CPT php page and display only related CPTs.
The same idea will help sites that have different CPTs and want to display only matching CPTs.