Skip to content

Instantly share code, notes, and snippets.

@carlosonweb
Last active June 9, 2017 22:24
Show Gist options
  • Save carlosonweb/e9207c734d38e798de02b52d11b25abf to your computer and use it in GitHub Desktop.
Save carlosonweb/e9207c734d38e798de02b52d11b25abf to your computer and use it in GitHub Desktop.
BB Test Sidebar
<?php
/*
Template Name: BB Test Sidebar
Template Post Type: post, page
*/
get_header();
?>
<div class="container">
<div class="row">
<?php FLTheme::sidebar('left'); ?>
<div class="fl-content <?php FLTheme::content_class(); ?>">
<?php if(have_posts()) : while(have_posts()) : the_post(); ?>
<?php get_template_part('content', 'page'); ?>
<?php endwhile; endif; ?>
</div>
<?php FLTheme::sidebar('right'); ?>
</div>
</div>
<?php get_footer(); ?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment