Home › Forums › Back End › 2nd header to show only for index? › Re: 2nd header to show only for index?
June 10, 2010 at 9:24 pm #77576
Why can’t you put whatever stuff you ONLY want to be on the index, in index.php? :D Just put it at the top before it calls the loops and stuff. You may need to leave a open div tag for some type of heading you have if you still want the index only heading to be included in it. For example:
Another way, which is probably the best, would be to use an if statement to check the is_home WordPress function. I haven’t tested this, but it should work.
Or, do you not want 2 headers to be shown on the index, but just place the normal header for the new one on the index?