I am looking for a plugin or a way to list first five posts as new. It should be just a small picture added in the index.php. Any ideas of how I could achieve this? Thanks!
Tell me more
×
WordPress Answers is a question and answer site for
WordPress developers and administrators. It's 100% free, no registration required.
|
This is pretty easy.
|
|||||
|
|
use custom query for first 5 latest posts.
The execute the query as usual and while displaying you can show them in a separate container or wherever you want to. Also, apply a CSS class with each post title (or whatever you want to target) and finally in your CSS you may show the image. Instead you can also use HTML IMG tag to show the image. Choice is all yours. |
|||
|
|