Archived topic
How to link dynamically to most recent post from static page?
1 reply · Started by Michael Kennedy on January 5, 2015
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)
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 :)