Advertisement
wclendining

Page.PHP

Apr 1st, 2015
476
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.94 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><?php the_title(); ?></h1>
  20.                 <?php the_content(__('Read more'));?>
  21.                 <footer id="pagefoot">
  22.                    last updated: <?php the_modified_date(); ?>
  23.                 </footer>
  24.                 <?php endwhile; else: ?>
  25.                 <p><?php _e('Sorry, no pages or posts matched your request.'); ?></p>
  26.         <?php endif; ?>
  27.         </article>
  28.   </div>
  29.  
  30.   <?php get_footer(); ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement