Help needed for simple change

Hi,

I am using a slideshow on a blog site I am making. At the moment I have it displaying on all pages apart from the home page.

I want it only on the home page though.

I know its a simple process of putting some declarations somewhere but I am hopeless at PHP…if someone could tell me what I need to do I would be very thankful.

Here is the code which calls the slidehsow on the pages:

<?php if (is_home()) { } Else { ?> 


<div class="nivoSlider">
  <img src="http://allgonep.fu8.com/wp-content/themes/graphene/images/slide_images/1_crystal_fighters.jpg" title="hello" />
  <img src="http://allgonep.fu8.com/wp-content/themes/graphene/images/slide_images/2_you_are_music.jpg" title="test" />
  <img src="http://allgonep.fu8.com/wp-content/themes/graphene/images/slide_images/3_monica.jpg" title="dudes" />
  <img src="http://allgonep.fu8.com/wp-content/themes/graphene/images/slide_images/4_the_magic_numbers.jpg" title="test 2" />
</div>


 <?php } ?>

Do I need to put the HTML in between the { } ?

If so what pho tags do i need to do?

Remove “} Else {” from the code :slight_smile:

Thank you so much!!!

:slight_smile:

CSS and HTML is second nature to me, but PHP is so confusing.

Do you have any good resources where I can learn easily and quickly?

The PHP tutorial on w3schools isn’t half bad. If you’d rather read a book I hear [url=http://www.sitepoint.com/books/phpmysql4/]Build Your Own Database Driven Web Site Using PHP & MySQL from Kevin Yank is very good.