I was playing with YARPP today and was wondering why it did not show up on Pages (that is, posts of type “page”).
I searched the plugin files for is_single() and, without actually reading any of the surrounding code, :-D I just replaced the two instances found in includes.php with is_singular().
Now YARPP shows up on Pages too.
is_singular() returns TRUE if any of is_single(), is_page(), or is_attachment() return TRUE. That is, it’s the same as:
(is_single() or is_page() or is_attachment())
I just thought I’d let you know.
Thank you for YARPP and for the time you’ve put into it!
http://wordpress.org/extend/plugins/yet-another-related-posts-plugin/