1st commit
This commit is contained in:
48
formats/blog-classic/video.php
Normal file
48
formats/blog-classic/video.php
Normal file
@@ -0,0 +1,48 @@
|
||||
<!-- start blog item -->
|
||||
<article <?php post_class('data'); ?> id="post-<?php the_ID() ?>">
|
||||
|
||||
<!-- start content -->
|
||||
<?php if (is_home() || is_search() || is_archive()): ?>
|
||||
<div class="post-content">
|
||||
<div class="blog-date">
|
||||
<span class="span-day"><?php echo get_the_time('d');?></span>
|
||||
<span class="span-month"><?php echo get_the_time('M');?></span>
|
||||
</div>
|
||||
<?php if (function_exists('printLikes')) { ?>
|
||||
<div class="kk-likes">
|
||||
<?php printLikes(get_the_ID()); ?>
|
||||
</div>
|
||||
<?php } ?>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
|
||||
<div class="blog-content">
|
||||
|
||||
<!--start video -->
|
||||
|
||||
<div class="blog-thumb">
|
||||
<div class="embed-container">
|
||||
<?php echo get_post_meta($post->ID, '_post_video_value', true); ?>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!--end video -->
|
||||
<?php if (is_home() || is_search() || is_archive()): ?>
|
||||
|
||||
<h2 class="blog-title">
|
||||
<a href="<?php the_permalink() ?>"><?php the_title() ?></a>
|
||||
</h2>
|
||||
|
||||
<!--start meta -->
|
||||
<?php get_template_part( 'formats/blog-classic/post-meta' ); ?>
|
||||
<!--end meta -->
|
||||
<?php endif; ?>
|
||||
|
||||
<div class="blog-entry">
|
||||
<?php the_content(); ?>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
</article>
|
||||
<!-- end blog item -->
|
||||
Reference in New Issue
Block a user