
page.php
By: a guest on
May 9th, 2012 | syntax:
PHP | size: 0.92 KB | hits: 37 | expires: Never
<?php get_header(); ?>
<div class="span-24" id="contentwrap">
<div class="span-16">
<div id="content">
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<div class="post" id="post-<?php the_ID(); ?>">
<h2 class="title"><?php the_title(); ?></h2>
<div class="entry">
<?php if ( function_exists("has_post_thumbnail") && has_post_thumbnail() ) { the_post_thumbnail(array(300,225), array("class" => "alignleft post_thumbnail")); } ?>
<?php the_content('<p class="serif">Читать запись полностью »</p>'); ?>
<?php wp_link_pages(array('before' => '<p><strong>Страницы:</strong> ', 'after' => '</p>', 'next_or_number' => 'number')); ?>
</div>
</div>
<?php endwhile; endif; ?>
<?php edit_post_link('Редактировать запись', '<p>', '</p>'); ?>
</div>
</div>
<?php get_sidebars(); ?>
</div>
<?php get_footer(); ?>