Latest post links to category page (1 post)

  1. maxhar
    Posted 4 years ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.