WordPress.org

Ready to get started?Download WordPress

Forums

Twenty Twelve
Change Header for custom post typer (1 post)

  1. jon.h.sellers
    Member
    Posted 1 year ago #

    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/

    :)

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic