<?php
/**
* Template Name: All Blog Page
*/
get_header(); ?>
<div class="container">
<div class="row">
<div class="col-lg-12 col-md-12 col-sm-12 col-xs-12 margbtm">
<?php
query_posts( 'cat=1' );
while ( have_posts() ) : the_post();?>
<div class="col-lg-4 col-md-4 col-sm-4 col-xs-12">
<img class="video" <?php the_post_thumbnail('medium');?>
<h4 class="title">
<a href="<?php the_permalink(); ?>"><?php the_title();?></a>
</h4>
<h4 class="title"><?php the_content();?></h4>
</div>
<?php endwhile; ?>
<?php wp_reset_query();?>
</div>
</div>
</div>
<?php get_footer(); ?>
/**
* Template Name: All Blog Page
*/
get_header(); ?>
<div class="container">
<div class="row">
<div class="col-lg-12 col-md-12 col-sm-12 col-xs-12 margbtm">
<?php
query_posts( 'cat=1' );
while ( have_posts() ) : the_post();?>
<div class="col-lg-4 col-md-4 col-sm-4 col-xs-12">
<img class="video" <?php the_post_thumbnail('medium');?>
<h4 class="title">
<a href="<?php the_permalink(); ?>"><?php the_title();?></a>
</h4>
<h4 class="title"><?php the_content();?></h4>
</div>
<?php endwhile; ?>
<?php wp_reset_query();?>
</div>
</div>
</div>
<?php get_footer(); ?>
No comments:
Post a Comment