title: change header image on post name
body: <p>I have many pages with a cover photo each that must be inserted into the header, but I cant seem to load the default header if it does not exist, or is the main blog page.</p>
  
  <p>here is my code:</p>
  
  <pre><code>global $post;     // if outside the loop     
  if ( is_home() ) {
      echo bloginfo('template_url') . '/images/our_clients.jpg' ; 
  } else {
      get_post_meta($post-&gt;ID, 'cover_image', true);
  }
  </code></pre>
  
  <p>What I need: if it is blog page, display: <code>echo bloginfo('template_url') . '/images/our_clients.jpg' ;</code> else display: <code>get_post_meta($post-&gt;ID, 'cover_image', true);</code></p>
  
  <p>any ideas?</p>