The WordPress theme that I have installed is using the <?php get_archives(‘postbypost’, 10); ?> to show the titles of the last 10 posts (included a link to the post) on the sidebar.
But I want to show the date & title of the last x posts on the homepage, like this:
date post | title post
I don’t get it working with the get_archives function and couldn’t find a solution on this forum, so could you please help me?
- The topic ‘get_archives & date’ is closed to new replies.