WordPress.org

Forums

Related posts show newest posts (1 post)

  1. WaterHealer
    Member
    Posted 5 years ago #

    Whenever you view single posts on my blog, under the post in the "Related Posts" section, it shows the newest posts instead of anything related to the post.

    I'm a newbie with css but I imagine that I'd need to edit the single.php bit around here:

    <div class="post-entry-meta clearfix">
    <div class="post-related left">
    <span class="post-heading">Related Posts</span>

      <?php wp_related_posts(get_the_ID()); ?>

    </div>

    Since I'm pretty sure "<?php wp_related_posts(get_the_ID()); ?>" is not the right coding for it to work.

    I'd like it to relate them by tags, title and category if possible. Here's an example of the error:
    http://www.soratokujira.tk/mano-erina-onegai-dakara/

Topic Closed

This topic has been closed to new replies.

About this Topic