Ejemplo n.º 1
0
        if ($mts_options['mts_breadcrumb'] == '1') {
            ?>
							<div class="breadcrumb" xmlns:v="http://rdf.data-vocabulary.org/#"><?php 
            mts_the_breadcrumb();
            ?>
</div>
						<?php 
        }
        ?>
						<header>
							<h1 class="title single-title entry-title" itemprop="headline"><?php 
        the_title();
        ?>
</h1>
							<?php 
        mts_the_postinfo('single');
        ?>
						</header><!--.headline_area-->
						<div class="post-single-content box mark-links entry-content">
							<?php 
        if ($mts_options['mts_posttop_adcode'] != '') {
            ?>
								<?php 
            $toptime = $mts_options['mts_posttop_adcode_time'];
            if (strcmp(date("Y-m-d", strtotime("-{$toptime} day")), get_the_time("Y-m-d")) >= 0) {
                ?>
									<div class="topad">
										<?php 
                echo do_shortcode($mts_options['mts_posttop_adcode']);
                ?>
									</div>
Ejemplo n.º 2
0
        }
        ?>
					</a>
                    <header>
						<h2 class="title front-view-title"><a href="<?php 
        the_permalink();
        ?>
" title="<?php 
        the_title();
        ?>
"><?php 
        the_title();
        ?>
</a></h2>
						<?php 
        mts_the_postinfo();
        ?>
					</header>
                    <?php 
        if (empty($mts_options['mts_full_posts'])) {
            ?>
    					<div class="front-view-content">
                            <?php 
            echo mts_excerpt(55);
            ?>
					    	<?php 
            mts_readmore();
            ?>
    					</div>
				    <?php 
        } else {
Ejemplo n.º 3
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 
        }
    }