Support » Fixing WordPress » Link to Articles in the Same Category

Viewing 5 replies - 1 through 5 (of 5 total)
  • See if this plugin does something similar to what you want:
    I know, it’s not in another post, just inside the post, but maybe it’s a start 🙂

    For me this code (from Kaf) works at the bottom of my Single.php (Post Template). It’s in the template not inside a post. If you want to put it inside a post you might be able to do that using the RunPHP plugin (not positive whether that would work).

    <h2>More <?php the_category(' > '); ?>:</h2>
    <?php foreach( $posts as $post ) : setup_postdata( $post ); ?>
    <li><a href="<?php the_permalink() ?>" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></li>
    <?php endforeach; ?>

    (it posted twice)

    Not enough coffee, yet.
    “Inside” was meant to be something different as opposed to “specific post” – you can place the list with the plugin where you want 🙂
    Sorry for the confusion.

    exactly what i was looking for 🙂

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Link to Articles in the Same Category’ is closed to new replies.