Cyber Week Sale! Get $20 off GP Premium, $40 off our new Lifetime license, and 45% off license renewals/extensions! Learn more

[Resolved] How to link dynamically to most recent post from static page?

Home Forums Support How to link dynamically to most recent post from static page?

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #61993
    Michael Kennedy

    I use a static page as my front page, and I want to use an “entry” link to take users directly to the most recent post, as though I had linked directly to the post. I tried linking straight to ../uncategorized and this would work except for the layout gets all wonky (unwanted category title at top of page, and post headlines are using H2 format which is no good). I can’t find any customization for the presentation of “category view”.

    I need to know how to either:
    A. Link to <most recent post> by url (like %latestpost% or something?)
    -or-
    B. Customize the presentation of the posts in my uncategorized category (which will be all of them, I don’t use categories)

    #62020
    Tom
    Lead Developer
    Lead Developer

    Hi Michael,

    I’m working on my own plugin for this – but it’s taken a backseat to the GP stuff I’ve been doing.

    The only other plugin I know of that can achieve this is this one: https://wordpress.org/plugins/display-posts-shortcode/

    Let me know if this helps or not 🙂

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.