How to only show the latest post on custom index.php?
-
This should be easy, but the docs have been no help. I’ve also already tried googling, and three different plug-ins (WP-last post, customizable-post-listings, and recent-posts) but no joy. Each plug-in doesn’t quite do what I want, or screws up (like pulls in a Page as a recent Post).
What I want to do is: show the latest post (not page, only a blog post) on my custom index.php, regardless of category. Can anyone just give the right wp_query (or whatever template code) to run? I don’t want to limit the number of posts for other pages, like category pages, so setting the Options is out. Thanks.
Shev.
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘How to only show the latest post on custom index.php?’ is closed to new replies.