Don't like ads? PRO users don't see any ads ;-)
Guest

page.php

By: a guest on May 9th, 2012  |  syntax: PHP  |  size: 0.92 KB  |  hits: 37  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. <?php get_header(); ?>
  2. <div class="span-24" id="contentwrap">
  3.         <div class="span-16">
  4.                 <div id="content">     
  5.  
  6.                         <?php if (have_posts()) : while (have_posts()) : the_post(); ?>
  7.                         <div class="post" id="post-<?php the_ID(); ?>">
  8.                         <h2 class="title"><?php the_title(); ?></h2>
  9.                                 <div class="entry">
  10. <?php if ( function_exists("has_post_thumbnail") && has_post_thumbnail() ) { the_post_thumbnail(array(300,225), array("class" => "alignleft post_thumbnail")); } ?>
  11.                                         <?php the_content('<p class="serif">Читать запись полностью &raquo;</p>'); ?>
  12.        
  13.                                         <?php wp_link_pages(array('before' => '<p><strong>Страницы:</strong> ', 'after' => '</p>', 'next_or_number' => 'number')); ?>
  14.        
  15.                                 </div>
  16.                         </div>
  17.                         <?php endwhile; endif; ?>
  18.                 <?php edit_post_link('Редактировать запись', '<p>', '</p>'); ?>
  19.                 </div>
  20.         </div>
  21.        
  22.  
  23. <?php get_sidebars(); ?>
  24.  
  25. </div>
  26. <?php get_footer(); ?>