Depending on how fancy you want, i would first get the number of posts per page, then divide that in half. Then setup a counter and incriment it each time you went thru the loop. When the counter matched have the value of the posts per page, I'd execute the code you have to display the the ad
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
|