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

    like

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

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

    any suggestions?

  • The topic ‘how to link to latest post in a ca’ is closed to new replies.