title: Wordpress - How to show header on every page?
body: <p>I'm working on a Wordpress site and I have a header image on the homepage. It's only showing up on the homepage but I need it to show on every page. I found this code in the header.php file which I believe needs to be changed, but I'm not very familiar with php.</p>
  
  <p>This is the code for the header image in the header.php file:</p>
  
  <pre><code>&lt;?php $disable_page_title = get_post_meta( get_the_ID(), 'minimal_portfolio_page_title', true ); 
  if( $disable_page_title !== 'on' ): ?&gt;
      &lt;?php if( !is_front_page()):  ?&gt;
          &lt;section class="page-header jumbotron &lt;?php if ( get_header_image() ) : ?&gt;bg-image&lt;?php endif; ?&gt;"  &lt;?php if ( get_header_image() ) : ?&gt; style="background-image:url('&lt;?php echo esc_url( get_header_image() ); ?&gt;');" &lt;?php endif; ?&gt;&gt;
          &lt;?php if ( get_header_image() ) : ?&gt;&lt;span class="bg-overlay"&gt;&lt;/span&gt;&lt;?php endif; ?&gt;
  
                  &lt;div class="container"&gt;
                      &lt;div class="row"&gt;
                          &lt;div class="col-md-12"&gt;
                              &lt;div class="title-wrap"&gt;
                                  &lt;?php if( is_page() || is_single() ){ ?&gt;
                                          &lt;h2 class="page-title"&gt;&lt;?php echo esc_html( get_the_title() ); ?&gt;&lt;/h2&gt;
  
                                      &lt;?php } elseif( is_search() ){ ?&gt;
                                      &lt;?php /* translators: %s: search term */
                                          $page_title = sprintf( esc_html__( 'Search Results for: %s', 'minimal-portfolio' ),  get_search_query() ); 
                                      ?&gt;
                                      &lt;h2 class="page-title"&gt;&lt;?php echo esc_html( $page_title ); ?&gt;&lt;/h2&gt;
  
                                      &lt;?php }elseif( is_404() ){ ?&gt;
  
                                      &lt;h2 class="page-title"&gt;&lt;?php echo esc_html( 'Page Not Found: 404', 'minimal-portfolio' ); ?&gt;&lt;/h2&gt;
  
                                      &lt;?php }elseif( is_home() ){ ?&gt;
  
                                      &lt;h2 class="page-title"&gt;&lt;?php single_post_title(); ?&gt;&lt;/h2&gt;
  
                                      &lt;?php } else{
  
                                          the_archive_title( '&lt;h2 class="page-title"&gt;', '&lt;/h2&gt;' );
                                      }
  
                                      if( $minimal_portfolio_breadcrumb_status ):
                                          minimal_portfolio_breadcrumbs();
                                      endif;
                                  ?&gt;
                              &lt;/div&gt;
                          &lt;/div&gt;
                      &lt;/div&gt;
                  &lt;/div&gt;
              &lt;/section&gt;
          &lt;?php endif;
      endif; ?&gt;
  </code></pre>
  
  <p>Thank you!</p>
  
  <p>Edit: This is how it shows on all pages but the home page. But I would like it to show the full header instead of only a section of it with the page title.</p>
  
  <p><a href="https://i.stack.imgur.com/e6Seu.png" rel="nofollow noreferrer">Header</a></p>
  
  <p>This is the home page, where it shows the full header and how I'd like it to show on every page instead of how it does in the image above.
  <a href="https://i.stack.imgur.com/Hcdvn.png" rel="nofollow noreferrer">Home Header</a></p>