Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php if(is_home()) { ?>
- <div id="header" style="padding-top:0; text-align:center;">
- <img src="http://www.derekroyal.com/wp-content/themes/mazeld/blogheader.gif" alt="" />
- <div id="access" role="navigation">
- <div class="skip-link screen-reader-text"><a href="#content" title="<?php esc_attr_e( 'Skip to content', 'twentyten' ); ?>"><?php _e( 'Skip to content', 'twentyten' ); ?></a></div>
- <?php wp_nav_menu( array( 'container_class' => 'menu-header', 'theme_location' => 'primary' ) ); ?>
- </div><!-- #access -->
- </div><!-- #header -->
- <?php } else { ?>
- <div id="header">
- <div id="masthead">
- <div id="branding" role="banner">
- <div id="randompic">
- <?php echo yellow_get_random_photo(); ?>
- </div>
- <h1 id="head"><a href="<?php echo home_url( '/' ); ?>" title="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>"><?php bloginfo( 'name' ); ?></a></h1>
- <div id="site-description"><?php bloginfo( 'description' ); ?></div>
- <br style="clear:both;" />
- </div><!-- #branding -->
- <div id="access" role="navigation">
- <div class="skip-link screen-reader-text"><a href="#content" title="<?php esc_attr_e( 'Skip to content', 'twentyten' ); ?>"><?php _e( 'Skip to content', 'twentyten' ); ?></a></div>
- <?php wp_nav_menu( array( 'container_class' => 'menu-header', 'theme_location' => 'primary' ) ); ?>
- </div><!-- #access -->
- </div><!-- #masthead -->
- </div><!-- #header -->
- <?php } ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement