/* 
WOO CUSTOM STYLESHEET
---------------------

Instructions:

Add your custom styles here instead of style.css so it 
is easier to update the theme. Simply copy an existing 
style from style.css to this file, and modify it to 
your liking.

blue: 3f8cd9
dark blue: 446b9a
drak grey: 333333
orange: FF7800
vert pale: bad46a
vert foncé: a4c639

Setup Onewire and all social bookmarking



IN FEATURE.php
<div id="featured-th">

	<ul class="idTabs">

		<?php 
			$the_query = new WP_Query('category_name=' . $featuredcat . '&showposts=5&orderby=post_date&order=desc');
			
			$counter = 0;
					
			while ($the_query->have_posts()) : $the_query->the_post(); $do_not_duplicate = $post->ID;
		?>
		
		<?php $counter++; ?>

		<?php if ( get_post_meta($post->ID, 'image', true) ) { ?> <!-- DISPLAYS THE IMAGE URL SPECIFIED IN THE CUSTOM FIELD -->
			
			<li <?php if ($counter == 5) { ?>class="last"<?php } ?>><a href="#post-<?php the_ID(); ?>">
            		<?php woo_image('height=57&width=100&link=img'); ?>
            </a></li>			
			
		<?php } else { ?> <!-- DISPLAY THE DEFAULT IMAGE, IF CUSTOM FIELD HAS NOT BEEN COMPLETED -->
			
			<li <?php if ($counter == 5) { ?>class="last"<?php } ?>><a href="#post-<?php the_ID(); ?>"><img src="<?php bloginfo('template_directory'); ?>/images/no-img-thumb.jpg" alt=""/></a></li>
			
		<?php } ?> 		
		
		<?php endwhile; ?>
	
	</ul>

</div>


*/


