Need help? Check out our Support site, then

Creating different headers for specific categories

  1. Hey Everyone,
    I've been stumbled for a while now. I'm trying to create two different headers using one wordpress theme. The problem Im having is that specfic categories or post does not follow the correct theme. Instead, it ends up using both headers that I have created which creates a mix of different styles. It's a mess really. I'm thinking that it has something to do with how I'm calling items in my header.php.

    here is site:

    any help would be great.

    The blog I need help with is

  2. here is the header code:


    if ( is_home() || in_category('News') || in_category('Sports') || in_category('Life') || in_category('Opinion') || in_category('Video') || in_category('Featured') || in_category('Uncategorized'))
    echo 'in FIU';


    /* localhost */
    if (in_category('23') || in_category('24') || in_category('25') || in_category('26') || in_category('27') || in_category('28') ||in_category('29') || in_category('30')){
    echo 'in radaite radatiearr';


    else if(
    is_category('radiatefm') ||
    is_category('about-radiate') ||
    is_category('djs') ||
    is_category('music') ||
    is_category('playlists') ||
    is_category('promotions') ||

    echo 'fiu';



  3. You are completely off-base here as you are posting to the wrong forum for your software.  Please read this sticky post at the head of the forum  entry so you are clear about the differences between free blogs from and being free hosted by wordpress.COM and sofware installs from wordpress.ORG for self hosting:

    The correct forum for you to post to is here > http://wordpress.ORG/support/

  4. thank you

  5. You're welcome and best wishes. :)

  6. nvm. solved

Topic Closed

This topic has been closed to new replies.

About this Topic