<?php echo td_page_generator::wrap_start(); ?> <div class="span12"> <div class="td-post-header-full td-image-gradient"> <?php //show the breadcrumb if (get_post_type($post) == 'post') { echo td_page_generator::get_single_breadcrumbs($td_mod_single->title); } else { echo td_page_generator::get_page_breadcrumbs($td_mod_single->title); } // override the default featured image by the templates (single.php and home.php/index.php - blog loop) if (!empty(td_global::$load_featured_img_from_template)) { echo $td_mod_single->get_image(td_global::$load_featured_img_from_template); } else { echo $td_mod_single->get_image('art-slide-big'); } ?> <header> <?php echo $td_mod_single->get_title(); ?> <div class="meta-info"> <?php echo $td_mod_single->get_category(); ?> <?php
/** * The single post loop for post template 2 **/ if (have_posts()) { the_post(); $td_mod_single = new td_module_1($post); if (!empty($td_mod_single->td_post_theme_settings['td_subtitle'])) { ?> <p class="td-sub-title"><?php echo $td_mod_single->td_post_theme_settings['td_subtitle']; ?> </p><?php } // override the default featured image by the templates (single.php and home.php/index.php - blog loop) if (!empty(td_global::$load_featured_img_from_template)) { echo $td_mod_single->get_image(td_global::$load_featured_img_from_template); } else { echo $td_mod_single->get_image('featured-image'); } ?> <div class="td-post-text-content"> <?php echo $td_mod_single->get_content(); ?> </div> <div class="clearfix"></div> <footer>