Template:Pagina principale/News
(Differenze fra le revisioni)
(Creata pagina con '// Get the last 5 posts. <?php require('http://www.enciclopediadeldoppiaggio.it/news/wp-blog-header.php'); ?> <?php query_posts('showposts=5'); ?> <?php while (have_posts()) : the_po…') |
|||
Riga 1: | Riga 1: | ||
− | // Get the last 5 posts. | + | <html>// Get the last 5 posts. |
<?php | <?php | ||
require('http://www.enciclopediadeldoppiaggio.it/news/wp-blog-header.php'); | require('http://www.enciclopediadeldoppiaggio.it/news/wp-blog-header.php'); | ||
Riga 7: | Riga 7: | ||
<?php while (have_posts()) : the_post(); ?> | <?php while (have_posts()) : the_post(); ?> | ||
<a href="<?php the_permalink() ?>" rel="bookmark" title="Link a <?php the_title(); ?>"><?php the_title(); ?></a><br /> | <a href="<?php the_permalink() ?>" rel="bookmark" title="Link a <?php the_title(); ?>"><?php the_title(); ?></a><br /> | ||
− | <?php endwhile;?> | + | <?php endwhile;?></html> |