I want to create two columns in my blog (using WP and skeleton), and i want to look like this :
But i have problem with the result, there is njo the same that i want. Any help for this? I experiment.
<div class="container">
<div class="twelve columns">
<div class="title_id"> <h2> <?php echo get_the_title(); ?> </h2> </div>
<?php
global $wp_query;
$secondary_query = $wp_query;
$wp_query = null;
$wp_query = new WP_Query( '&cat=-16' ); ?>
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<div class="post" id="post-<?php the_ID();?>">
<h2><a href="<?php the_permalink() ?>"> <?php the_title(); ?> </a></h2>
<div class="posted"><em>Posted on <?php the_time('l, jS F, Y') ?> in <?php the_category(', ') ?>.</em></div>
<?php if ( has_post_thumbnail() ) {the_post_thumbnail();} ?>
<?php if( in_array( $post->ID, array() ) )
{echo get_the_content(); } else {echo get_excerpt(); }?>
<div class="read-more"> </div>
<div class="container">
<div class="twelve columns">
<div class="border"> </div>
</div>
</div>
</div>
<?php endwhile; ?>
<?php else : ?>
<h2> Not found </h2>
</div><
<?php endif; ?>
<?php
$wp_query = null;
$wp_query = $secondary_query;
wp_reset_postdata(); ?>
</div>