Přidat otázku mezi oblíbenéZasílat nové odpovědi e-mailem Pomoc s css

Tak jsem našel informaci, která uvádí, že do page.php musím přidat tuto část kódu,

</div> <!-- POST -->
<?php endwhile; ?>

       <div class="navigation">


<div class="alignleft"><?php next_posts_link('&laquo; Older Entries') ?></div>
<div class="alignright"><?php previous_posts_link('Newer Entries &raquo;') ?></div>

aby šly komentáře i u "stránek".

Zde je původní znění page.php
<?php get_header(); ?>

	

	<?php if (have_posts()) : ?>

		<?php while (have_posts()) : the_post(); ?>

	<div id="post-<?php the_ID(); ?>">



		<h1 class="decay"><?php the_title(); ?></h1>

			

		<div class="descr"><?php the_time('F jS, Y') ?> by <?php the_author() ?></div>



		<div class="entry">



			<?php the_content('Read the rest of this entry &raquo;'); ?>



		</div>



		<p class="postinfo">Posted in <?php the_category(', ') ?><?php edit_post_link('Edit post',' ~ ',''); ?></p>



	</div>



		<?php endwhile; ?>



	<p align="center"><?php next_posts_link('&laquo; Previous Entries') ?> <?php previous_posts_link('Next Entries &raquo;') ?></p>



	<?php else : ?>



	<h1 class="decay">Not Found</h1>



	<p>Sorry, but you are looking for something that isn't here.</p>



	<?php endif; ?>



<?php get_sidebar(); ?>



<?php get_footer(); ?>

Bohužel netuším kam to přesně přidat, neporadil by někdo?Díkes..

Reakce na odpověď

1 Zadajte svou přezdívku:
2 Napište svou odpověď:
3 Pokud chcete dostat ban, zadejte libovolný text:

Zpět do poradny