[Resolved] Displaying Posts Outside WP Differently
I’m trying to create a site for my girlfriends football team, I am using WP to write all the news items.
I have an index page (pershoreladies.y2neil.com) which I use to display the latest three posts from the blog using the code:
<?php // Include WordPress define('WP_USE_THEMES', false); require('./blog/wp-blog-header.php'); query_posts('showposts=3'); ?>
This calls the blog and means I can display the latest three posts on my page by using WP code.
My question is, how can I format each post differently. For example, I want the first post to be large and prominent with the second and third posts smaller. Its been suggested that I use a counter variable that increments everytime I go through the loop, but honestly I don’t understand what that means.
Many thanks for your help,
- The topic ‘[Resolved] Displaying Posts Outside WP Differently’ is closed to new replies.