how to link to latest post in a ca (1 post)

  1. siounis
    Posted 9 years ago #

    before I started using pretty permalinks I used < a href="?cat=#"> to link to the latest post in a specific category.

    But now with the new permalinks (%category%/%post_name%)the link sent the user to: /category/*category name* which doesnt fit the site structure. Granted if I could get it to link to: /*category name*/news I would do that.

    but there MUST be a snippet of code to link to a latest post.


    < a href="*CODE*">LATEST POST

    and by clicking latest post it would link me to the latest post in its respective category.

    any suggestions?

Topic Closed

This topic has been closed to new replies.

About this Topic