The Loop at header.php
-
Hello guys,
I need to put one The Loop at my header Templeate File, i’ve tried like this:
<table width="108" cellpadding="0" cellspacing="0"> <tr> <td width="102"> <? query_posts("cat=81&posts_per_page=4"); ?> <?php while (have_posts()) : the_post(); ?> <p align="left" class="enquete"><?php the_title(); ?> <a href="<?php the_permalink(); ?>" title="Coluna - <?php the_title(); ?>">[ler]</a></p> <p align="left" class="enquete"> </p> <?php endif; ?> <div align="center" class="enquete"><a href="http://www.potterish.com/index.php?p=col"><strong>[Leia Mais]</strong></a></div> </td> </tr> </table>
but it is not working, there ir another way to do this?
Thx
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘The Loop at header.php’ is closed to new replies.