Example #1
0
} else {
    ?>
            <?php 
    echo tb_archive_link();
    ?>
        <?php 
}
?>
    </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_link()) {
    echo apply_filters('the_content', preg_replace('/<a(.*)href=\\"(.*)\\"(.*)<\\/a>/', '', 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 (has_post_thumbnail()) {
    ?>
            <?php 
    the_post_thumbnail('full');
    ?>
            <div class="overlay-link">
                <span class="link"><?php 
    echo tb_archive_link();
    ?>
</span>
            </div>
        <?php 
} else {
    ?>
            <?php 
    echo tb_archive_link();
    ?>
        <?php 
}
?>
    </div>
    <div class="tb-blog-detail">
        <h2 class="tb-blog-title"><a title="<?php 
the_title();
?>
" href="<?php 
the_permalink();
?>
" rel=""><?php 
the_title();
?>