[Resolved] Showing Posts
I am using Ryan Boren’s plugin that creates a home page called Page to Front. I have also created a home.php template. This template displays the details of the home page across the top and in the right hand column the links list.
Here’s the problem! In the left hand column I want it to display the latest three posts from category no.1. I have used the following code:
// I love WordPress so
[?php if (have_posts()) : while (have_posts()) : the_post(); ?]
[li][a href=”[?php the_permalink() ?]”][span class=”date”][?php the_time(‘M.d’) ?][/span] [?php the_title() ?] [/a][/li]
[?php endwhile; endif; ?]
(I have replaced the < with a [)
But if you look at the front page of the site it is not actually displaying anything! Is this something to do with my code or the plugin please?
- The topic ‘[Resolved] Showing Posts’ is closed to new replies.