Ejemplo n.º 1
0
            the_title();
            ?>
" rel="nofollow"><?php 
            _e('Read More', 'mythemeshop');
            ?>
</a></span>
				    <?php 
        } else {
            ?>
                        <div class="post-content image-caption-format-1 full-post">
                            <?php 
            the_content();
            ?>
                        </div>
                        <?php 
            if (mts_post_has_moretag()) {
                ?>
                            <span class="readMore"><a href="<?php 
                the_permalink();
                ?>
" title="<?php 
                the_title();
                ?>
" rel="nofollow"><?php 
                _e('Read More', 'mythemeshop');
                ?>
</a></span>
						<?php 
            }
            ?>
                    <?php 
Ejemplo n.º 2
0
    function mts_archive_post($layout = '')
    {
        $mts_options = get_option(MTS_THEME_NAME);
        ?>
        <header>
            <h2 class="title front-view-title" itemprop="headline"><a href="<?php 
        the_permalink();
        ?>
" title="<?php 
        the_title();
        ?>
"><?php 
        the_title();
        ?>
</a></h2>
            <?php 
        mts_the_postinfo();
        ?>
        </header>
        <a href="<?php 
        the_permalink();
        ?>
" title="<?php 
        the_title();
        ?>
" rel="nofollow" class="post-image post-image-left">
            <?php 
        echo '<div class="featured-thumbnail">';
        the_post_thumbnail('featured', array('title' => ''));
        echo '</div>';
        ?>
            <?php 
        if (function_exists('wp_review_show_total')) {
            wp_review_show_total(true, 'latestPost-review-wrapper');
        }
        ?>
        </a>
        <?php 
        if (empty($mts_options['mts_full_posts'])) {
            ?>
            <div class="front-view-content">
                <?php 
            echo mts_excerpt(29);
            ?>
            </div>
            <?php 
            mts_readmore();
            ?>
        <?php 
        } else {
            ?>
            <div class="front-view-content full-post">
                <?php 
            the_content();
            ?>
            </div>
            <?php 
            if (mts_post_has_moretag()) {
                ?>
                <?php 
                mts_readmore();
                ?>
            <?php 
            }
            ?>
        <?php 
        }
    }