Viewing file: format-video.php (1.24 KB) -rw-rw-rw- Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php /** * The template for displaying posts in the Video post format. * * @package WordPress * @subpackage Delicious * */ global $content_class; $time = get_the_time(get_option('date_format')); ?>
<article id="post-<?php the_ID(); ?>" <?php post_class('post post-masonry'); ?>>
<?php delicious_video($post->ID); ?> <div class="post-content"> <h1 class="masonry-title"> <?php if(!is_single()) { ?> <a href="<?php the_permalink(); ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a> <?php } else { the_title(); } ?> </h1> <span class="post-meta"> <i class="for-sticky fa fa-exclamation"></i><i class="fa fa-video-camera"></i> <?php echo '<em>' . $time. '</em>'; if(is_single()) { echo '<em>' . get_the_category_list( __( ', ', 'delicious' ) ) . '</em>'; comments_popup_link(__('No Comments', 'delicious'), __('1 Comment', 'delicious'), __('% Comments', 'delicious')); } ?> </span> <div class="clear"></div>
<?php if(is_single()) { ?> <div class="half-space"></div> <?php } ?> <?php global $more; if(!is_single()) { $more = 0; } the_content(__('Read More', 'delicious')); ?>
</div><!--end post-content--> </article><!-- #post -->
|