WordPress.org

Ready to get started?Download WordPress

Forums

Yet Another Related Posts Plugin (YARPP)
[Plugin: Yet Another Related Posts Plugin] YARPP: Usage for pages? (2 posts)

  1. Inertia83
    Member
    Posted 3 years 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.

  2. mitcho (Michael Yoshitaka Erlewine)
    Member
    Plugin Author

    Posted 3 years ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic