Ejemplo n.º 1
0
<?php

if (vce_use_cover_fimg()) {
    ?>
<div class="vce-featured">

    <div class="vce-featured-header">
        <div class="vce-featured-info">
            <div class="vce-hover-effect">

                <?php 
    if (vce_get_option('show_cat')) {
        ?>
                    <div class="vce-featured-section">
                        <?php 
        echo vce_get_category();
        ?>
                    </div>
                <?php 
    }
    ?>

                <h1 class="vce-featured-title vce-featured-link-article"><?php 
    the_title();
    ?>
</h1>

                <?php 
    if ($meta = vce_get_meta_data('single')) {
        ?>
                    <div class="entry-meta"><?php 
Ejemplo n.º 2
0
    ?>
		<?php 
    if (vce_get_option('show_paginated') == 'above') {
        ?>
			<?php 
        get_template_part('sections/paginated-nav');
        ?>
		<?php 
    }
    ?>
	<?php 
}
?>

		<?php 
if (vce_get_post_display('show_fimg') && has_post_thumbnail() && !vce_use_cover_fimg()) {
    ?>
			<?php 
    if (!vce_is_paginated_post() || vce_is_paginated_post() && vce_get_option('show_paginated_fimg') && $page <= 1) {
        ?>

			 	<?php 
        global $vce_sidebar_opts;
        $img_size = $vce_sidebar_opts['use_sidebar'] == 'none' ? 'vce-lay-a-nosid' : 'vce-lay-a';
        ?>

			 	<div class="meta-image">
					<?php 
        the_post_thumbnail($img_size);
        ?>