SHARE
TWEET

Original Twenty Twelve code for header

a guest Jan 10th, 2013 44 Never
  1. <?php /* $header_image = get_header_image();
  2. if ( ! empty( $header_image ) ) : ?>
  3.         <div id="header-image-wrapper"><a href="<?php echo esc_url( home_url( '/' ) ); ?>"><img src="<?php echo esc_url( $header_image ); ?>" class="header-image" width="<?php echo get_custom_header()->width; ?>" height="<?php echo get_custom_header()->height; ?>" alt="" /></a></div>
  4. <?php endif; */ ?>
  5.  
  6. Here is the output:
  7.  
  8. <img src="http://matulaitismission.org/wp-content/uploads/2013/01/cropped-Matulaicio-Misija-jaunimas.jpg" class="header-image" width="960" height="293" alt="" />
RAW Paste Data
Top