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 } }
function thesis_post_box($classes = '', $post_count = false) { $post_image = thesis_post_image_info('image'); thesis_hook_before_post_box($post_count); echo "\t\t\t<div class=\"" . join(' ', get_post_class($classes)) . "\" id=\"post-" . get_the_ID() . "\">\n"; thesis_hook_post_box_top($post_count); thesis_headline_area($post_count, $post_image); echo "\t\t\t\t<div class=\"format_text entry-content\">\n"; thesis_post_content($post_count, $post_image); echo "\t\t\t\t</div>\n"; thesis_hook_post_box_bottom($post_count); echo "\t\t\t</div>\n\n"; thesis_hook_after_post_box($post_count); }
function thesis_page_loop() { global $post, $thesis; while (have_posts()) { the_post(); $post_image = thesis_post_image_info('image'); thesis_hook_before_post_box(); ?> <div class="post_box top" id="post-<?php the_ID(); ?> "> <?php thesis_headline_area(false, $post_image); ?> <div class="format_text"> <?php if (get_post_meta($post->ID, '_wp_page_template', true) == 'archives.php') { thesis_hook_archives_template(); } else { thesis_post_content(false, $post_image); } ?> </div> </div> <?php thesis_hook_after_post_box(); if (!$thesis['display']['comments']['disable_pages']) { comments_template(); } } }