title: Using different logo for different pages
body: <p>I would like to know if there is any way to display different logos on different pages in same site. I am using Neve theme and following is the header file content.</p>
  <pre><code>$header_classes = apply_filters( 'nv_header_classes', 'header' );
  ?&gt;&lt;!DOCTYPE html&gt;
  &lt;html &lt;?php language_attributes(); ?&gt;&gt;
  &lt;head&gt;
  
  &lt;meta charset=&quot;&lt;?php bloginfo( 'charset' ); ?&gt;&quot;&gt;
  &lt;meta name=&quot;viewport&quot; content=&quot;width=device-width, initial-scale=1, minimum-scale=1&quot;&gt;
  &lt;link rel=&quot;profile&quot; href=&quot;http://gmpg.org/xfn/11&quot;&gt;
  &lt;?php if ( is_singular() &amp;&amp; pings_open( get_queried_object() ) ) : ?&gt;
      &lt;link rel=&quot;pingback&quot; href=&quot;&lt;?php bloginfo( 'pingback_url' ); ?&gt;&quot;&gt;
  &lt;?php endif; ?&gt;
  &lt;?php wp_head(); ?&gt;
  
  &lt;/head&gt;
  &lt;body  &lt;?php body_class(); ?&gt; &lt;?php neve_body_attrs(); ?&gt; &gt;
  &lt;?php wp_body_open(); ?&gt;
  &lt;div class=&quot;wrapper&quot;&gt;
  &lt;?php neve_before_header_wrapper_trigger(); ?&gt;
      &lt;header class=&quot;&lt;?php echo esc_attr( $header_classes ); ?&gt;&quot; role=&quot;banner&quot;&gt;
      &lt;a class=&quot;neve-skip-link show-on-focus&quot; href=&quot;#content&quot; tabindex=&quot;0&quot;&gt;
          &lt;?php echo __( 'Skip to content', 'neve' ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?&gt;
      &lt;/a&gt;
      &lt;?php
      neve_before_header_trigger();
      if ( apply_filters( 'neve_filter_toggle_content_parts', true, 'header' ) === true ) {
          do_action( 'neve_do_header' );
      }
      neve_after_header_trigger();
      ?&gt;
  &lt;/header&gt;
  &lt;?php neve_after_header_wrapper_trigger(); ?&gt;
  &lt;?php do_action( 'neve_before_primary' ); ?&gt;
  
  &lt;main id=&quot;content&quot; class=&quot;neve-main&quot; role=&quot;main&quot;&gt;
  
  &lt;?php
   do_action( 'neve_after_primary_start' );
  </code></pre>
  <p>I used this code to display logo</p>
  <pre><code>if (is_page (‘jumbo-collection’ ))
  {echo '&lt;img src=&quot;https://carattere.org/wp-content/uploads/2020/12/jumboc.jpg&quot;&gt;';}
  else
  {echo '&lt;img src=&quot;https://carattere.org/wp-content/uploads/2020/12/jumbogrouplogo201903.jpg&quot;&gt;';}
  </code></pre>
  <p>but this code is displaying both logos. Also I am not sure where to put the code in header.php file.</p>
  <p>Waiting for the responses
  Regards</p>