Skip to content

Instantly share code, notes, and snippets.

@ckahle33
Created April 24, 2014 20:12
Show Gist options
  • Save ckahle33/11267953 to your computer and use it in GitHub Desktop.
Save ckahle33/11267953 to your computer and use it in GitHub Desktop.
<?php
$content = get_template_part('templates/content', 'page');
$len = count($content);
$first = array_slice($content, 0, $len/2);
$second = array_slice($content, $len/2);
?>
<div class="large-6 columns">
<?php echo $first; ?>
</div>
<div class="large-6 columns">
<?php echo $second; ?>
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment