differnent header code for each page
-
I am trying to make the header code show up differently on one certain page. But everything else should show up as you see is_front_page code. Any ideas?
Thanks!!
<?php if( is_home() || is_front_page() ) : ?> <img src="<?php echo $hdr ?>" width="<?php echo $weaverii_header['width']; ?>" height="<?php echo $weaverii_header['height']; ?>" alt="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>" /> <?php elseif is_page( 131 ) : ?> <img src="" /> <?php endif; ?>
[Moderator Note: Please post code & markup between backticks (not single quotes) or use the code button. Your posted code may now have been permanently damaged by the forum’s parser.]
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘differnent header code for each page’ is closed to new replies.