asiergogortza_theme/single.php
2016-12-19 22:57:15 +01:00

36 lines
1.3 KiB
PHP

<?php get_header(); ?>
<div class="row">
<div class="col-md-4">
<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>
<div class="col-md-8">
<div class="content">
<?php if(have_posts()) : ?>
<?php while(have_posts()) : the_post(); ?>
<div class="post-main">
<h1><?php the_title(); ?></h1>
<div class="post">
<?php the_content(); ?>
<?php wp_link_pages( $args ); ?>
<span class="nav-previous hidden"><?php previous_post_link( '%link', '<span class="meta-nav">' . _x( '&larr;', 'Previous post link', 'noheader' ) . '</span> %title' ); ?></span>
<span class="nav-next hidden"><?php next_post_link( '%link', '%title <span class="meta-nav">' . _x( '&rarr;', 'Next post link', 'noheader' ) . '</span>' ); ?></span>
<?php //comments_template(); ?>
</div>
</div>
<?php endwhile; ?>
<?php endif; ?>
</div>
</div>
</div>
<?php get_footer(); ?>