Skip to content

Instantly share code, notes, and snippets.

@shovanco
Last active November 7, 2019 15:57
Show Gist options
  • Save shovanco/76924fc741e08ba57964394fdfece7c2 to your computer and use it in GitHub Desktop.
Save shovanco/76924fc741e08ba57964394fdfece7c2 to your computer and use it in GitHub Desktop.
<?php
/*
Template Name: Page With Two Sidebar
*/
materialis_get_header();
?>
<div class="page-content">
<div class="gridContainer">
<div class="row">
<div class="col-xs-12 col-sm-3 col-md-3 page-sidebar-column">
<?php materialis_get_sidebar('pages'); ?>
</div>
<div class="col-xs-12 col-sm-6 col-md-6">
<?php
while (have_posts()) : the_post();
the_content();
endwhile;
?>
</div>
<div class="col-xs-12 col-sm-3 col-md-3 page-sidebar-column">
<?php dynamic_sidebar( 'Right Sidebar' ); ?>
</div>
</div>
</div>
</div>
<?php get_footer(); ?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment