Viewing 2 replies - 1 through 2 (of 2 total)
  • Hello @petedan,

    Apologies for the first post, we must have misted it. And sincere apologies for the extremely long wait, we have been a bit shorthanded and on the other hand overwhelmed with work during this covid situation.

    However, I’m afraid I’m going to have to disappoint you again, because this is personal customization and as such out of our scope. And while we do want to help everyone out when it comes to a few lines of code, your design idea requires much, much more.

    I know it’s not of any consolation, but I’ve added your idea to our features request list, and we’ll see what can be done about it in the future.

    Stay safe and best of luck with your website

    Thread Starter petedan

    (@petedan)

    And while we do want to help everyone out when it comes to a few lines of code, your design idea requires much, much more.

    Is a simple solution like this too much of an effort for you to suggest?

    add_action( 'get_custom_logo', 'change_logo_url' ); // Main logo
    add_action( 'ocean_responsive_logo', 'change_logo_url' ); // Responsive logo
    function change_logo_url( $html ) {
    $old_url = esc_url( home_url( '/' ) ); // Current site URL
    $new_url = esc_url( 'new.url.com' ); // New URL
    $html = str_replace( 'href="'. $old_url .'"', 'href="'. $new_url .'"', $html );
    return $html;
    }
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Custom link for mobile logo (2nd try)’ is closed to new replies.