This topic has 4 replies, 2 voices, and was last updated 7 years, 11 months ago ago by 8theme
Hi.
Hi. I want to change the “logo-link” from http://pladepusheren.dk to http://pladepusheren.dk/shop but I cannot find the correct file/line to make the change.
I have child theme and everything ready and I am using the “Variant center” header. Can anyone point me in the right direction?
Best regards,
Morten
Hello,
Try to add the following code snippet to the functions.php file in your child theme and the link to the desired one
function etheme_logo($fixed_header = false) {
$logo = etheme_get_logo_data();
?>
<a href="http://pladepusheren.dk/shop">
<img src="<?php echo $logo['logo']['src']; ?>" alt="<?php bloginfo( 'description' ); ?>" width="<?php echo $logo['logo']['width']; ?>" height="<?php echo $logo['logo']['height']; ?>" class="logo-default" />
<img src="<?php echo $logo['fixed_logo']['src']; ?>" alt="<?php bloginfo( 'description' ); ?>" width="<?php echo $logo['fixed_logo']['width']; ?>" height="<?php echo $logo['fixed_logo']['height']; ?>" class="logo-fixed" />
</a>
<?php
do_action('etheme_after_logo');
}
Regards
Thank you Serg. That worked out perfectly.
Best regards
Morten
Great, you are welcome 🙂
The issue related to '‘Logo link’' has been successfully resolved, and the topic is now closed for further responses