Link to recent posts separately without a loop?
-
Hello.
The main page design of my blog consists of multiple sized image-buttons randomly placed like planets. In descending order, they should link to the most recent post to the least recent post.
Because each image-button is a different size at a different location, I can not use a loop. How can I still make them link to the recent posts in a dynamic manner?
Is there anyway to add information to the_permalink() so that it finds the previous post? I think the post IDs are not numerically continuous because if a post is deleted the ID numbers do not resort.
Thank you so much for any help!!!
PS: Here’s my working site: https://lanlan.org/wbp/
- The topic ‘Link to recent posts separately without a loop?’ is closed to new replies.