Change link diferents logos for diferents headers

This topic has 4 replies, 3 voices, and was last updated 8 years ago ago by Eva Kemp

  • Avatar: Immograf
    Immograf
    Participant
    November 16, 2016 at 12:40

    Hello, I use two headers in the website with 2 differents logos. I want that every logo redirect to diferents url but I don’t know how do it. Wich file should I change to do that and how can I do it?

    Thanks,

    Xavi

    3 Answers
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    November 16, 2016 at 13:37

    Hello,

    You may serch for the code after if (!function_exists('etheme_logo')) { in wp-content/themes/royal/framework/theme-functions.php and change <a href="<?php echo home_url(); ?>"> to another url.

    Please note you need to make changes in the child theme https://codex.wordpress.org/Child_Themes
    If you’re using the Child Theme then you’ll not lose your changes after theme update.

    Regards,
    Rose Tyler.

    Avatar: Immograf
    Immograf
    Participant
    November 22, 2016 at 12:15

    I tried your solution but it’s not ok for our case. It’s possible than before I didn’t explain me very well. I’ll try another time:

    We have a logo for the generic pages but at some pages we use another logo. And it’s possible than later we use a third logo for another page. So, where and how can we modify the url for each one of them?

    If you prefer we can give you the acceses.

    Thanks

    Avatar: Eva
    Eva Kemp
    Support staff
    November 22, 2016 at 17:44

    Hello,

    Unfortunately there is no such possibility in the theme. Please take our apologies.

    Regards,
    Eva Kemp.

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

You must be logged in to reply to this topic.Log in/Sign up

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