Viewing 5 replies - 1 through 5 (of 5 total)
  • See if this plugin does something similar to what you want:
    https://www.dagondesign.com/articles/other-posts-from-cat-plugin-for-wordpress/
    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>
    <ul>
    <?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; ?>
    </ul>

    (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.

    Thread Starter dturnbull

    (@dturnbull)

    exactly what i was looking for ??
    thanks.

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