• Hello,

    I am using Krystal Lawyer free theme for my website and I want to add my own Copyright in the footer. However, I am unable to find the option for the same.

    I have added the text in footer settings but cannot find it on website. Also there is no copyright option under customize.

    Please help me asap on how can I do this.

    Thanks.

Viewing 15 replies - 1 through 15 (of 17 total)
  • Hi @usertech

    Go to Appearance -> Customize -> Footer Settings and under the setting Footer copyright text write down your copyright text.

    Let us know if you have any questions

    Best Regards

    Thread Starter usertech

    (@usertech)

    Hello,

    I followed the same and have added the text here ‘Appearance -> Customize -> Footer Settings and under the setting Footer copyright text and clicked on publish’. But it does not appears at bottom on the website.

    The last thing on the website is the location map. Nothing below that.

    Please let me know how can I add the copyright text. Does it needs to be enabled from somewhere.

    Awaiting your prompt response.

    Thanks in advance.

    Hi @usertech

    Please share your website URL

    Best Regards

    Thread Starter usertech

    (@usertech)

    Hello,

    Please find the same: ‘https://www.augustassociates.net/’

    Hi @usertech

    After inspecting the HTML of your homepage, It seems like you have removed the copyright HTML from the code itself. You need to put the code back to show the copyright text.

    Best Regards

    Thread Starter usertech

    (@usertech)

    Hi,

    Please let me know what code we have to enter and in which file.

    Thanks.

    Hi @usertech

    After inspecting the HTML of your website, we did not find the copyright HTML in the footer. It seems like you have removed that code from the theme itself. You’ll have to put that code back to show the copyright text

    Let us know if you have any questions

    Best Regards

    Thread Starter usertech

    (@usertech)

    Hi,

    Please let me know what lines of code we have to enter and in which file.

    Thanks.

    Thread Starter usertech

    (@usertech)

    Hello,

    I have added the below code in functions.php at the bottom of the file:
    +++
    function create_copyright() {
    $all_posts = get_posts( ‘post_status=publish&order=ASC’ );
    $first_post = $all_posts[0];
    $first_date = $first_post->post_date_gmt;
    _e( ‘Copyright © ‘ );
    if ( substr( $first_date, 0, 4 ) == date( ‘Y’ ) ) {
    echo date( ‘Y’ );
    } else {
    echo substr( $first_date, 0, 4 ) . “-” . date( ‘Y’ );
    }
    echo ‘ ‘ . get_bloginfo( ‘name’ ) . ‘ ‘;
    _e( ‘All rights reserved.’ );
    }
    +++

    But still copyright text is not shown on the website.

    Please assist asap.

    Thanks.

    Hi @usertech

    Every theme’s code is different and can’t be used as it is. To do so
    Remove the parent theme Krystal and reinstall it. Do not activate it.

    Best Regards

    Thread Starter usertech

    (@usertech)

    Hello,

    Can you please let me know what is the code used for the theme ‘krystal lawyer’ as I am using the same theme for my website.

    Please provide me the code through which I use to enable the copyright text.

    Thanks.

    Hi @usertech

    Check line 197 for the footer function used in Krsytal

    https://themes.trac.www.ads-software.com/browser/krystal/1.2.0/inc/template-functions.php

    Best Regards

    Thread Starter usertech

    (@usertech)

    Hello,

    I added below code in functions.php file at the bottom of the file:
    +++

    if ( ! function_exists( ‘krystal_footer_copyrights’ ) ) :
    function krystal_footer_copyrights() {
    ?>
    <div class=”row”>
    <div class=”copyrights”>
    <p><?php echo esc_html(get_theme_mod( ‘kr_copyright_text’, __(‘? Copyright 2020 . Powered by ***** . All Rights Reserved’)) ); ?><span><?php esc_html_e(‘ | Theme by ‘,’krystal’) ?>” target=”_blank”><?php esc_html_e(‘Spiraclethemes’,’krystal’) ?></span></p>
    </div>
    </div>
    <?php
    }
    endif;

    if ( ! function_exists( ‘krystal_action_footer_hook’ ) ) :
    function krystal_action_footer_hook() {
    add_action( ‘krystal_action_footer’, ‘krystal_footer_copyrights’ );
    }
    endif;
    add_action( ‘wp’, ‘krystal_action_footer_hook’ );
    +++
    But still the same issue. Cannot find it on the website.

    Does this needs any extra plugin to be installed. Also I am using krystal lawyer free theme so will this krystal theme code work for that too.

    Thanks.

    Hi @usertech

    This is the default theme functionality. You don’t have to add any extra plugin.
    Do one thing. Just switch back to the twenty-twenty theme and remove the Parent Krystal theme and the child Krystal Lawyer theme completely. After the uninstall,
    Install again the Krystal Lawyer theme and activate it and you will get the footer copyrights

    Best Regards

    Thread Starter usertech

    (@usertech)

    Hello,

    I installed the theme again on a different domain and it has the copyright text in it.

    Please let me know the code for this is mentioned in which file so that I can check it from there and apply it on my original website.

    I cannot uninstall and install again on the main website as it will remove my customized settings to default.

    So please let me know in which file is the code for copyright mentioned.

    Awaiting your response.

    Thanks.

Viewing 15 replies - 1 through 15 (of 17 total)
  • The topic ‘Add my own Copyright in footer’ is closed to new replies.