main

Use More Than One Loop On A Page, Without Printing Duplicate Posts

Let’s start with the first loop. Nothing hard here: we’re just going to get the eight most recent posts using the showposts parameter. Open the index.php file, and paste the following code to output your “featured” posts: