Advertisement
wclendining

Index.php-Ancillary2

Mar 19th, 2015
441
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 1.20 KB | None | 0 0
  1.   <?php get_header(); ?>
  2.  
  3.    <div id="main">
  4.       <nav id="leftbar">
  5.          <?php include (TEMPLATEPATH . '/sidebar-left.php'); ?>
  6.       </nav>
  7.       <aside id="rightbar">
  8.          <?php include (TEMPLATEPATH . '/sidebar-right.php'); ?>
  9.       </aside>
  10.       <article>
  11.         <?php if (have_posts()) : while (have_posts()) : the_post(); ?>
  12.                 <nav id="breadcrumbs">
  13.            <?php
  14.               if(function_exists('bcn_display')) {
  15.                  bcn_display();
  16.             }
  17.            ?>
  18.                 </nav>
  19.                 <h1><a href="<?php the_permalink() ?>" rel="bookmark"><?php the_title(); ?></a></h1>
  20.                 <?php the_content(__('Read more'));?>
  21.                 <footer id="pagefoot">
  22.                    Author: <?php the_author_posts_link(); ?><br />
  23.                    Categories: <?php the_category(' &bull; '); ?><br />
  24.                    <?php the_tags( 'Tags: ', ', ', '<br />'); ?>
  25.                    last updated: <?php the_modified_date(); ?>
  26.                 </footer>
  27.                 <?php endwhile; else: ?>
  28.                 <p><?php _e('Sorry, no pages or posts matched your request.'); ?></p>
  29.         <?php endif; ?>
  30.         </article>
  31.   </div>
  32.  
  33.   <?php get_footer(); ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement