2016-12-19 22:57:15 +01:00
|
|
|
<?php
|
|
|
|
/**
|
|
|
|
* Template Name: Frontpage grid posts
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
?>
|
|
|
|
|
|
|
|
<?php get_header(); ?>
|
|
|
|
<!-- header -->
|
|
|
|
<div class="row">
|
2017-01-27 23:17:33 +01:00
|
|
|
<div class="col-xs-12 col-sm-6 col-md-4">
|
2016-12-19 22:57:15 +01:00
|
|
|
<div class="sidebar-right1 span2">
|
|
|
|
<div class="head">
|
|
|
|
<?php if ( function_exists( 'jetpack_the_site_logo' ) ) jetpack_the_site_logo(); ?>
|
|
|
|
<h1 class="site-title"><a href="<?php echo esc_url( home_url( '/' ) ); ?>"><?php bloginfo( 'name' ); ?></a></h1>
|
|
|
|
<h4 class="site-description"><?php bloginfo( 'description' ); ?></h4>
|
|
|
|
</div>
|
|
|
|
<?php dynamic_sidebar( 'sidebar-left' ); ?>
|
|
|
|
</div>
|
|
|
|
</div>
|
2017-01-27 23:17:33 +01:00
|
|
|
<div class="col-xs-12 col-sm-6 col-md-8">
|
2016-12-19 22:57:15 +01:00
|
|
|
<!--content-->
|
|
|
|
<div class="row">
|
|
|
|
<div class="content">
|
|
|
|
<?php if(have_posts()) : ?>
|
|
|
|
<?php while(have_posts()) : the_post(); ?>
|
|
|
|
<div class="post-main">
|
|
|
|
<div class="post">
|
|
|
|
<?php the_content(); ?>
|
|
|
|
|
|
|
|
<?php wp_link_pages( $args ); ?>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<?php endwhile; ?>
|
|
|
|
<?php endif; ?>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<?php get_footer(); ?>
|