web/wp-content/themes/IRI-Theme/index.php
author Anthony Ly <anthonyly.com@gmail.com>
Mon, 19 Nov 2012 18:26:13 +0100
changeset 194 32102edaa81b
parent 136 bde1974c263b
permissions -rw-r--r--
MAJ wordpress et ajout de plugin

<?php get_header(); ?>
	<div class="column span-17 colborder first" id="maincontent">
		<div class="content">
			<?php 
			
				//$my_query = new WP_Query('showposts=8');
				//while ($my_query->have_posts()) : $my_query->the_post();
				
				// Don't show featured item
				//if ($post->ID == $featuredID) continue;
				
				while (have_posts()) : the_post();
				
				?>
				
				<?php getPost($post); ?>
					
				<?php endwhile; ?>
	
				<div class="alignleft"><?php next_posts_link('&laquo; Pr&eacute;c&eacute;dent') ?></div>
				<div class="alignright"><?php previous_posts_link('Suivant &raquo;') ?></div>
</div>
</div>
	
<div class="column span-6 last">
<?php include (TEMPLATEPATH . '/sidebar_single.php'); ?>
</div>
<hr></hr>
<?php get_sidebar(); ?>
<?php get_footer(); ?>