pull html on social icon

I am using betheme, in the footer there are social icons, in the persolized icon I had changed and configured to appear an email, I used the code below, but now that I updated the theme, "esc_html" does not work, does not appear.

I was using the code below to pop up the email.

**************
if( mfn_opts_get( 'social-custom-icon' ) && mfn_opts_get( 'social-custom-link' ) ){
echo '<li class="custom"><a href="mailto:'. esc_html( mfn_opts_get( 'social-custom-link' ) ) .'" target="_blank" rel="noopener">'. esc_html( mfn_opts_get( 'social-custom-link' ) ) .'</a></li>';
}

*********

Comments

  • Hello,
    Sorry, but we do not support users modifications.
    We do provide help with the theme issues and questions about the theme itself.

    Remember, that if you don't use the "Child Theme" (which is included in the theme packagee) and you modify some theme files, all of your changes will be overwritten,
    Only "Child Theme" will keep these changes.
    Thanks
Sign In or Register to comment.