Viewing 5 replies - 1 through 5 (of 5 total)
  • Hi @selenesolveig

    This is because of data sanitization,
    If you really want to add a link we can provide you some steps. You have to remove the data sanitization function which we don’t recommend.

    Step 1) Go to root folder of theme ( wp-content/themes/elvinaa)
    Step 2) Go to inc/customizer/customizer.php and open this file in any text editor
    Step 3) Find line number 984 and remove the sanitization_callback function ie line should be like
    'sanitize_callback' => ''
    Step 4) Now go to inc/template-functions.php and open this in text editor
    Step 5) Find line no 186 and remove the esc_attr() function. The line should look like
    <p><?php echo get_theme_mod( 'el_copyright_text', __('Copyrights Elvinaa. All Rights Reserved','elvinaa') ); ?><span><?php _e(' | Theme by ','elvinaa') ?><a href="https://www.spiraclethemes.com/" target="_blank"><?php _e('Spiraclethemes','elvinaa') ?></a></span></p>

    Step 6) save both files and try again to add a link

    Note: Do not update the theme as you will lose these changes after the update.

    Regards

    Thread Starter SeleneSolveig

    (@selenesolveig)

    Hi,

    thanks for your quick reply. It’s usual to insert a link to legal notice in the footer. As you don’t recommand to unable sanitization, I’ll do a different way for now. May be it’ll be possible in a next update ?

    Elvinaa is really a great theme, thank you very much.

    Hi @selenesolveig

    Glad that you like our theme ?? Yes we will try to resolve this in our next update. You can also try adding your legal notice link in the footer widgets if you like. I can see that you haven’t used any footer widgets. You can check out our demo how the footer widgets look like here

    https://elvinaa.spiraclethemes.com/demo1/
    https://elvinaa.spiraclethemes.com/demo2/

    You can check our theme documentation also if you are not sure how to add footer widgets. You can find theme documentation here

    https://www.spiraclethemes.com/elvinaa-documentation/

    Regards

    Thread Starter SeleneSolveig

    (@selenesolveig)

    Hello,

    I’ve already tried but as it was my only widget, it was a bit ugly. I don’t have any use of widget for now.
    No problem, I’ll wait the next update.

    thnak you for your help and this nice theme.

    Cyril

    You are welcome ??

    Regards

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘link in footer’ is closed to new replies.