• clear

    Hello, I added a top-header to my site with a logo that must direct to an external URL and I would like to add the link ‘smntcs-custom-logo-link’ to this image via the php of this part in <a href>, here is the code:

    );?> <div class=”col-lg-2 col-md-2″><a href=”<?php echo esc_url(‘smntcs_custom_logo_link_sanitize_url’) ?>” target=”_blank”><img class=”img-fluid” height=”75″ src=”<?php echo get_theme_mod( ‘your_theme_hover_logo’ );?>” alt=”logo”></a></div>

    How to make it work:

    <a href="<?php echo esc_url('smntcs_custom_logo_link_sanitize_url') ?>

    I can’t find the right code.

    Thanks in advance for your help ??

    The page I need help with: [log in to see the link]

  • You must be logged in to reply to this topic.