WordPress.org

Ready to get started?Download WordPress

Forums

kUSing Alternate Headers (1 post)

  1. billbab
    Member
    Posted 6 years ago #

    I've hacked away at my template (Revolution News Magazine) for an online magazine I'm building to create a double column feature area (www.kenalu.com). The only easy way I could think of to do that was to build the double column into the header. Took a lot of fiddling, but I made it work. But now that double column appears in the pages as well, and I don't want that.

    It seems like the easiest way would be either to create a conditional statement that calls the extra code only if it's on the home page, or to call alternative headers on every page but the home page. Both would work well for me, I don't need the other stuff that goes along with this expanded content section (a video and rss email subscription) so whacking it away to the simple original header would be fine.

    Only problem is I don't know where the function get_header() lives so I can modify it to call alternate header files or how to make the header detect that it's on the home page.

    Any help would be greatly appreciated. I dont' really know php or css, I'm just faking it, learning as I go.

Topic Closed

This topic has been closed to new replies.

About this Topic