-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathcategory-videos.php
34 lines (29 loc) · 1.14 KB
/
category-videos.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
<?php get_header(); ?>
<div class="container columns videos">
<div class="row">
<div class="col-md-9 col-sm-12 col-xs-12 pull-right">
<div class="events">
<?php if(have_posts()): while(have_posts()): the_post(); ?>
<div class="col-md-4 col-sm-4 col-xs-12 event clearfix text-center">
<a href="<?php the_permalink(); ?>">
<?php
if(has_post_thumbnail()){
the_post_thumbnail('thumbnail');
}else{ ?>
<img class="img-rounded thumbnail" src="<?php echo get_template_directory_uri(); ?>/dev/images/dummy.png">
<?php } ?>
</a>
<h2><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h2>
<span class="text-left ltr"><?php the_time("l, d F Y, H:i A"); ?></span>
</div><!--./event-->
<?php endwhile; pagination_posts_nav_cat(); endif; ?>
</div><!--./events-->
</div><!--./col-md-9-->
<div class="col-md-3 col-sm-12 col-xs-12 pull-left">
<aside>
<?php if ( is_active_sidebar( 'sidebar' ) ) : dynamic_sidebar( 'sidebar' ); endif; ?>
</aside>
</div>
</div>
</div><!-- /container -->
<?php get_footer(); ?>