
Page.Php
<?php get_header(); ?>
<?php get_sidebar(); ?>
<div id="content" class="narrowcolumn">
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<div class="post" id="post-<?php the_ID(); ?>">
<h2><?php the_title(); ?></h2>
<div class="entry">
<?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>
<?php get_footer(); ?>
Style.Css
/*
Theme Name: siteground-wp38
Theme URI: http://www.siteground.com
Description:
Version: 1.0
Author: SiteGround
Author URI: http://www.siteground.com
*/
Продовження дод. Д
body {
font-size: 12px;
font-family: Tahoma, Verdana, sans-serif;
color: #333;
text-align: center;
margin: 0;
padding: 0;
background: #FFF;
background-image: url(images/1495.png);
}
#top {
width: 902px;
height: 52px;
margin: 0 auto;
padding: 0;
background: url(images/top.jpg) top center no-repeat;
text-align: right;
}
#wrapper {
margin: 0 auto;
width: 902px;
text-align: left;
background: url(images/content.jpg) top center repeat-y;
}
#page {
text-align: center;
margin: 0 auto;
width: 902px;
}
#holder {
margin: 0 auto;
width: 880px;
text-align: left;
overflow: hidden;
padding: 8px 0;
}
#header {
height: 262px;
background: url(images/header.jpg) top center no-repeat;
margin: 0 auto;
width: 902px;
}
#headerimg {
padding: 110px 0 0 160px;
text-align: left;
margin: 0 auto;
width: 742px;
}