Support » Themes and Templates » Change Header for custom post typer

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="" 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:


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