Skip to content

Instantly share code, notes, and snippets.

@chasereeves
Created February 19, 2012 02:57
Show Gist options
  • Save chasereeves/1861746 to your computer and use it in GitHub Desktop.
Save chasereeves/1861746 to your computer and use it in GitHub Desktop.
Thesis Default Page Loop Elements
function page() {
global $post, $thesis_design;
while (have_posts()) { #wp
the_post(); #wp
$post_image = thesis_post_image_info('image');
thesis_hook_before_post_box();
echo "\t\t\t<div class=\"post_box top\" id=\"post-" . get_the_ID() . "\">\n"; #wp
thesis_hook_post_box_top();
thesis_headline_area(false, $post_image);
echo "\t\t\t\t<div class=\"format_text\">\n";
thesis_post_content(false, $post_image);
echo "\t\t\t\t</div>\n";
thesis_hook_post_box_bottom();
echo "\t\t\t</div>\n";
thesis_hook_after_post_box();
if (!$thesis_design->display['comments']['disable_pages'])
comments_template(); #wp
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment