Support » Plugins » Hacks » Latest post links to category page

  • Hello all.

    I’m using this following code to display an UL of recent wordpress posts on my homepage. Currently when one of the titles is clicked it goes directly to the post page.

    <?php get_archives('postbypost', '10', 'custom', '<li>', '</li>'); ?>

    I would like the link on each post title to direct the user to the categories archive page with an anchor to the title of that particular post.

    How do I do this?
    I’m hoping you’ve understood me.

    Thank you.

  • The topic ‘Latest post links to category page’ is closed to new replies.