Hiya Guys! so I need some help with this:
<?php
$newsposts = new WP_Query('cat=restaurant');
if ( is_front_page()) { echo '<h3 class="member-review">Latest Restaurants</h3>
<div id="extra">if ($newsposts->have_posts()) : while ($newsposts->have_posts()) : $newsposts->the_post();
<div class="reslogo"><img src="'echo catch_that_image()' /></div>
endwhile, endif;
</div>';
} ?>
What I'm trying to do here is have an image slider of first post images (from restaurant category) display at the bottom of the page. I use DIVs to control placement/ style but I really need help with my PHP syntax ... I just cant figure it out... Any help would be greatly appreciated!
Cheers