the_author_posts_link();
        ?>
</span>	
					 </div>
				</div>
			</div>
			<?php 
    } elseif (!$format == '') {
        ?>
				<div class="entry-thumb">	
						<?php 
        if ($format == 'video' || $format == 'audio') {
            ?>
	
							<?php 
            echo $format == 'video' ? '<div class="video-wrapper">' . get_entry_content_asset($post->ID) . '</div>' : get_entry_content_asset($post->ID);
            ?>
										
						<?php 
        }
        ?>
						<?php 
        if ($format == 'image') {
            ?>
							<div class="entry-thumb-content">
								<a class="entry-hover" href="<?php 
            the_permalink();
            ?>
" title="<?php 
            the_title_attribute();
            ?>
示例#2
0
		<div class="<?php 
    if ($full_width == 'true') {
        echo 'container ';
    }
    ?>
container-slider">
		<?php 
    foreach ($list as $i => $post) {
        ?>
			<div class="da-slide paral-slide<?php 
        $i = $i % 5;
        echo $i + 1;
        ?>
">
			<?php 
        if (get_entry_content_asset($post->ID) != null) {
            ?>
					<div class="da-video"><?php 
            echo get_entry_content_asset($post->ID);
            ?>
</div>
				<?php 
        } else {
            ?>
				<div class="da-slide-title">
					<a href="<?php 
            echo get_permalink($post);
            ?>
" class="slider-title"><?php 
            echo $post->post_title;
            ?>