Advertisement
Guest User

page.php

a guest
Dec 27th, 2011
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 1.25 KB | None | 0 0
  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.                 <?php edit_post_link( __('[Edit]', 'themejunkie'), '<span class="edit-post">', '</span>' ); ?>
  14.             </div><!-- .entry-content -->
  15.            
  16.         </div><!-- #post-<?php the_ID(); ?> -->
  17.        
  18.         <?php if(get_option('collection_show_page_comments') == 'on') { ?>
  19.             <?php comments_template('', true); ?>
  20.         <?php } ?>  
  21.    
  22.     <?php endwhile; endif; ?>
  23.    
  24.     </div><!-- #primary .hfeed -->
  25.    
  26.     <div id="single-right-sidebar">
  27.         <?php if ( !function_exists( 'dynamic_sidebar' ) || !dynamic_sidebar('Page Sidebar - Right') ): ?>
  28.             <?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>'); ?>
  29.         <?php endif; ?>
  30.     </div><!-- #single-right-sidebar -->
  31.  
  32. <?php get_footer(); ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement