WordPress.org

Ready to get started?Download WordPress

Forums

Related Posts on a WP Page? (2 posts)

  1. schien
    Member
    Posted 6 years ago #

    Hey guys,

    Sorry for being a n00b, but I need help getting related posts to show up for a WP Page. Any ideas how? I added the "tags4page" plug-in with the hope that the "WP 2.3 Related POsts" plugin would detect the tag for that particular page and display the related blog posts. Instead, the entire WP 2.3 Related Posts plugin stopped displaying.

    Any help here? Thx!

  2. schulte
    Member
    Posted 6 years ago #

    You are on the right path.

    Look for the code below in WordPress Related Posts (version 0.9):

    if ( (! is_single()) || (! $wp_rp_auto)) return $content;

    and replace it with this

    if ( (!(is_single()||is_page())) || (! $wp_rp_auto)) return $content;

    Had a need to do this today.

Topic Closed

This topic has been closed to new replies.

About this Topic