예제 #1
0
 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
     }
 }
예제 #2
0
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);
}