Need to point my logo from a website of mine to another site of mine...

I need to temporarily point my logo from a website of mine which uses the Sparkling theme to another site of mine which also uses the theme while I fix some issues with the media library of the latter?

I can see the logo is located on line 191 in the header:
<div id=“logo”>

but when I tried to edit the header.php I dont see any options to change the <img src= URL

Please advise.



Hi @otherwhirl,

I hope you are well today and thank you for your question.

In the theme header.php file find the following code on line number 50 and change the code to URL in the hreaf="" attribute of it.

<div id="logo">
	<?php if ( get_header_image() != '' ) { ?>
			<a href="<?php echo esc_url( home_url( '/' ) ); ?>"><img src="<?php header_image(); ?>"  height="<?php echo get_custom_header()->height; ?>" width="<?php echo get_custom_header()->width; ?>" alt="<?php bloginfo( 'name' ); ?>"/></a>

Best Regards,


You are most welcome here :slight_smile: