Support » Theme: Twenty Twelve » Change Header for custom post typer

  • I would like to have a different header image for custom post type, posts & archive. I have gotten the header to change with

    <?php if( is_page('dm') ) : ?>
    			<img src="http://69.195.124.89/~openonth/213/wp-content/uploads/2013/02/header2.gif" class="header-image" width="<?php echo get_custom_header()->width; ?>" height="<?php echo get_custom_header()->height; ?>" alt="" />		
    
    		<?php else : ?>

    in the header just above the regular header custom image in header.php but it only words on a static page DM.

    the site:
    http://69.195.124.89/~openonth/213/
    the costome post type archive:
    http://69.195.124.89/~openonth/213/dm/

    🙂

  • The topic ‘Change Header for custom post typer’ is closed to new replies.