delete the_post() from templates