Skip to content

Commit

Permalink
Added AZ template component
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewmbacon authored and szk11001 committed Aug 7, 2014
1 parent 6206fca commit 6755591
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions page-az.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
<?php
/*
Template Name: A-Z Index
* Displays all "Pages" in the site, in alphabetical order, seperated by letter.
*/
get_header(); ?>
<div id="page-az">
<?php include('inc/sidebar-check.php')?>
<?php while ( have_posts() ) : the_post(); ?>
<?php include('inc/submenu-check.php')?>
<div class="row">
<div class="col-sm-<?php echo (is_active_sidebar( $sidebar )?9:12); ?>">
<div id="primary" class="content-area">
<main id="main" class="site-main" role="main">
<?php get_template_part( 'content', 'az' ); ?>
</main>
</div>
</div>
<?php include('inc/sidebar-if-active.php')?>
</div>
<?php include('inc/submenu-closing-tags.php')?>
<?php endwhile; // end of the loop. ?>
</div>
<?php get_footer(); ?>

0 comments on commit 6755591

Please sign in to comment.