Support » Plugins and Hacks » Yet Another Related Posts Plugin (YARPP) » [Plugin: Yet Another Related Posts Plugin] YARPP: Usage for pages?
5 years, 11 months ago
I’ve played around with my new install and can’t get the plug-in to work with pages as opposed to posts. I’m not sure if there is a way to toggle this or not? Or if I’m just doing something completely wrong?
Any feedback would be great, thanks.
Two things: to display related pages in your “related” display, make sure to choose “cross relate pages and posts” in your YARPP options.
To display the related pages or posts display in pages, you’ll have to add the code related_posts(), related_pages(), or related_entries() in your template for single pages, most likely page.php.