Leave a Reply

1 comment

  1. You can use get_post_custom() which will return an array of all post meta in one single call to the database, that should save a few calls.

    And as for including the file over and over you could use get_template_part() to include a file once which will hold the entire loop (a good example can be found in the default twenty ten or eleven theme).