Logo link - by Morten - on WordPress WooCommerce support

This topic has 4 replies, 2 voices, and was last updated 7 years, 11 months ago ago by 8theme

  • Avatar: Morten
    Morten
    Participant
    January 6, 2017 at 15:00

    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

    3 Answers
    Avatar: 8theme
    8theme
    Support staff
    January 6, 2017 at 15:18

    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

    Avatar: Morten
    Morten
    Participant
    January 6, 2017 at 20:03

    Thank you Serg. That worked out perfectly.

    Best regards
    Morten

    Avatar: 8theme
    8theme
    Support staff
    January 9, 2017 at 09:12

    Great, you are welcome 🙂

  • Viewing 4 results - 1 through 4 (of 4 total)

The issue related to '‘Logo link’' has been successfully resolved, and the topic is now closed for further responses

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.