Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- /*
- Template Name: pagina index
- */
- ?>
- <?php get_header(); ?>
- <?php get_sidebar(); ?>
- <div id="news">
- <h2><img src="<?php bloginfo('template_directory'); ?>/images/news.png" alt="news" /></h2>
- <div class="breadcrumbs">
- <?php if(function_exists('bcn_display'))
- {
- bcn_display();
- }?>
- </div>
- <!-- Start the Loop. -->
- <?php $paged = (get_query_var('paged')) ? get_query_var('paged') : 1; query_posts("cat=-42&paged=$paged"); ?>
- <?php while (have_posts()) : the_post(); ?>
- <div class="entry">
- <!-- Display the Title as a link to the Post's permalink. -->
- <h3><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h3>
- <small class="articletitle">Scritto il <?php the_time('jS F, Y'); ?></small>
- <!-- Display the Time. -->
- <!-- Display the Post's Content in a div box. -->
- <div class="entrycontent">
- <?php the_content(); ?>
- <div class="commenti" > <a href="<?php comments_link(); ?> ">Lascia un commento </a></div>
- </div>
- </div>
- <!-- Stop The Loop (but note the "else:" - see next line). -->
- <?php endwhile; ?>
- <div id="navbox">
- <?php if(function_exists('wp_page_numbers')) { wp_page_numbers(); } ?>
- </div>
- </div>
- <?php get_footer(); ?>
- </div>
- <div id="bordosotto"> </div>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement