Example #1
0
post_class('post-teaser');
?>
>
    <div class="tb-blog-image tb-blog-gallery">
        <?php 
echo tb_archive_gallery('full');
?>
    </div>

    <div class="tb-blog-detail">
        <h2 class="tb-blog-title"><?php 
the_title();
?>
</h2>
        <div class="tb-blog-meta"><?php 
tb_archive_detail();
?>
</div>
        <div class="tb-blog-content">
            <?php 
if (tb_archive_gallery()) {
    echo apply_filters('the_content', preg_replace('/\\[gallery.*ids=.(.*).\\]/', '', get_the_content()));
} else {
    the_content();
}
wp_link_pages(array('before' => '<p class="page-links"><span class="page-links-title">' . __('Pages:', 'leonard') . '</span>', 'after' => '</p>', 'link_before' => '<span>', 'link_after' => '</span>', 'pagelink' => '<span class="screen-reader-text">' . __('Page', 'leonard') . ' </span>%', 'separator' => '<span class="screen-reader-text">, </span>'));
?>
        </div>
    </div>
</article>
Example #2
0
if (basename($template) === 'blog-classic.php') {
    $tb_image_size = 'full';
} else {
    $tb_image_size = 'tb-blog-medium';
}
?>
<article id="post-<?php 
the_ID();
?>
" <?php 
post_class('post-teaser');
?>
>
    <div class="tb-blog-image tb-blog-gallery">
        <?php 
echo tb_archive_gallery($tb_image_size);
?>
    </div>

    <div class="tb-blog-detail">
        <h2 class="tb-blog-title"><a title="<?php 
the_title();
?>
" href="<?php 
the_permalink();
?>
" rel=""><?php 
the_title();
?>
</a></h2>
        <div class="tb-blog-meta"><?php 
Example #3
0
 *
 * @package Themebears
 * @subpackage Themebears
 * @since 1.0.0
 */
?>
<article id="post-<?php 
the_ID();
?>
" <?php 
post_class('post-teaser');
?>
>
    <div class="tb-blog-image tb-blog-gallery">
        <?php 
echo tb_archive_gallery('full');
?>
    </div>

    <div class="tb-blog-detail">
        <h2 class="tb-blog-title"><a title="<?php 
the_title();
?>
" href="<?php 
the_permalink();
?>
" rel=""><?php 
the_title();
?>
</a></h2>
        <div class="tb-blog-meta"><?php