WordPress.org

Ready to get started?Download WordPress

Forums

Latest post links to category page (1 post)

  1. maxhar
    Member
    Posted 2 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

Tags

No tags yet.