Ejemplo n.º 1
0
">
    <h2><?php 
echo $title;
?>
</h2>
    <div class="entry-meta">

        <?php 
dt_get_date_link(array('class' => 'ico-link date', 'wrap' => '<span class="%CLASS%">%DATE%</span>'));
dt_get_author_link(array('class' => 'ico-link author', 'wrap' => '<span %CLASS%><a %HREF%>%AUTHOR%</a></span>'));
dt_get_taxonomy_link('category', '<span class="ico-link categories">%CAT_LIST%</span>');
dt_get_comments_link($comments, array('no_coments' => ''));
?>

    </div>
    
<?php 
if (!post_password_required($post->ID)) {
    if ('dt_team' !== $post->post_type && 'dt_benefits' !== $post->post_type) {
        dt_get_thumb_img(array('class' => 'alignleft text', 'href' => get_permalink(), 'thumb_opts' => array('w' => 210, 'h' => 210)));
    }
    dt_the_content();
    dt_details_link();
    dt_edit_link();
} else {
    echo get_the_password_form();
}
?>

</div>
Ejemplo n.º 2
0
			</ul>
			
		<?php 
    }
    ?>
		
        <?php 
    if (!post_password_required()) {
        ?>
            
			<?php 
        if ('on' == $page_opts['show_excerpt']) {
            the_excerpt();
        }
        if ('list' == $pg_opts['layout']) {
            dt_edit_link('Edit', null, 'button');
        }
        ?>
        
		<?php 
    }
    ?>

	</div>

    <?php 
    if ('grid' == $pg_opts['layout']) {
        ?>
        </div>
    <?php 
    }
Ejemplo n.º 3
0
		<?php 
    }
    ?>

		<?php 
    if (!post_password_required()) {
        ?>

            <?php 
        if ('on' == $page_opts['show_excerpt']) {
            the_excerpt();
        }
        if ('on' == $page_opts['show_details'] && 'list' == $layout) {
            dt_details_link(null, 'button');
        }
        dt_edit_link('Edit', null, 'grid' == $layout ? 'details' : 'button');
        ?>

        <?php 
    }
    // pass protected
    ?>

    </div>

    <?php 
    if ('grid' == $pg_opts['layout']) {
        ?>
        </div>
    <?php 
    }