Пример #1
0
		<span class="right"><?php 
    previous_posts_link('Newer Entries');
    ?>
</span>
	</div>

	<?php 
    while (have_posts()) {
        the_post();
        ?>
	<div <?php 
        post_class();
        ?>
>
	    <?php 
        post_datestamp($post->post_date, true);
        ?>
			<h3 id="post-<?php 
        the_ID();
        ?>
" class="archivetitle"><a href="<?php 
        the_permalink();
        ?>
" rel="bookmark" title="Permanent Link to <?php 
        the_title_attribute();
        ?>
"><?php 
        the_title();
        ?>
</a></h3>
      <small>by <?php 
Пример #2
0
</span>
    <span class="left"><?php 
        next_post_link('%link');
        ?>
</span>
  </div>

	<div <?php 
        post_class();
        ?>
 id="post-<?php 
        the_ID();
        ?>
">
	  <?php 
        post_datestamp($post->post_date);
        ?>
		<h1 class="title"><?php 
        link_to(the_title(null, null, false), get_permalink($post->ID));
        ?>
</h1>
    <small>by <?php 
        the_author();
        ?>
</small>
		<div class="entry">
			<?php 
        the_content('<p class="serif">Read the rest of this entry &raquo;</p>');
        ?>

			<?php