Delicate theme, moving header image to different location
-
Hi all,
I am not new to WordPress or HTML, but I am totally new to editing PHP and am trying to learn as I go along (not sure how good of an idea that is, but oh well).
I am using the delicate theme to set up a new site for a friend. I want to include a header image, but I only want it to be displayed on the main page of the site, and not on individual posts.
So basically, I either want to know how to get the header image php code out of header.php and into index.php (so it is only displayed on the home page) or to set up code in header.php so that it only displays the header image/slideshow if the user is on the home page. Not sure which is easiest.
I’ve tried just cutting the code from header.php and putting it toward the top of the index.php code, but none of the settings for the header image carry over. If you look at the site right now, I have the identical header image php code currently displayed in both header.php and index.php, and you can see the result.
Could someone tell me what I have to change so that the settings carry over when I move the image code from header.php into index.php?
Any help would be much appreciated.
- The topic ‘Delicate theme, moving header image to different location’ is closed to new replies.