WordPress.org

Ready to get started?Download WordPress

Forums

Yet Another Related Posts Plugin (YARPP)
[Plugin: Yet Another Related Posts Plugin] Remove Yarpp from certain posts (2 posts)

  1. paulogier
    Member
    Posted 2 years ago #

    Hi there,

    I need to remove Yarpp from certain pages, the pages are custom designed but the Yarpp still shows up.

    Is there a code snippet that I can use to remove it from that post?

    http://wordpress.org/extend/plugins/yet-another-related-posts-plugin/

  2. mitcho (Michael Yoshitaka Erlewine)
    Member
    Plugin Author

    Posted 2 years ago #

    Turn off the "automatic display" option in YARPP settings, then call the related_posts() or related_pages() functions from within your theme. You can then put that within some sort of conditional statement so it only runs on certain conditions.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic