SHARE
TWEET

page.php

a guest Jun 30th, 2012 6 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?php get_header(); ?>
  2.  
  3.         <div id="primary" class="hfeed">
  4.         <?php if (have_posts()) : while (have_posts()) : the_post(); ?>
  5.        
  6.                 <div id="post-<?php the_ID(); ?>" <?php post_class() ?>>
  7.            
  8.                         <h1 class="entry-title"><?php the_title(); ?></h1>
  9.        
  10.                         <div class="entry-content">
  11.                                 <?php the_content(); ?>
  12.                                 <?php wp_link_pages(array('before' => '<p><strong>'.__('Pages:', 'themejunkie').'</strong> ', 'after' => '</p>', 'next_or_number' => 'number')); ?>
  13.                         </div><!-- .entry-content -->
  14.                        
  15.                 </div><!-- #post-<?php the_ID(); ?> -->
  16.                
  17.         <?php if(get_option('collection_show_page_comments') == 'on') { ?>
  18.                         <?php comments_template('', true); ?>
  19.                 <?php } ?>  
  20.        
  21.         <?php endwhile; endif; ?>
  22.        
  23.         </div><!-- #primary .hfeed -->
  24.        
  25.         <div id="single-right-sidebar">
  26.             <?php if ( !function_exists( 'dynamic_sidebar' ) || !dynamic_sidebar('Page Sidebar - Right') ): ?>
  27.                 <?php the_widget('WP_Widget_Text', 'title=Page Sidebar - Right&text=You could add some widgets in this area.', 'before_title=<h3 class="widget-title">&after_title=</h3>'); ?>
  28.             <?php endif; ?>
  29.     </div><!-- #single-right-sidebar -->
  30.  
  31. <?php get_footer(); ?>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top