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

  1. jon.h.sellers
    Posted 2 years 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="" 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:
    the costome post type archive:


Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic