usertech
Forum Replies Created
-
Forum: Themes and Templates
In reply to: [Krystal Lawyer] Add my own Copyright in footerHello,
Please let me know which plugin can we use to do backup restore of any WP page?
Currently, when we duplicate a page as backup, the backup pages don’t work same as the original page. Specifically the images goes away.
Please suggest this asap.
Thanks.
Forum: Themes and Templates
In reply to: [Krystal Lawyer] Add my own Copyright in footerHello,
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.
Forum: Themes and Templates
In reply to: [Krystal Lawyer] Add my own Copyright in footerHello,
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.
Forum: Themes and Templates
In reply to: [Krystal Lawyer] Add my own Copyright in footerHello,
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.
Forum: Themes and Templates
In reply to: [Krystal Lawyer] Add my own Copyright in footerHello,
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.
Forum: Themes and Templates
In reply to: [Krystal Lawyer] Add my own Copyright in footerHi,
Please let me know what lines of code we have to enter and in which file.
Thanks.
Forum: Themes and Templates
In reply to: [Krystal Lawyer] Add my own Copyright in footerHi,
Please let me know what code we have to enter and in which file.
Thanks.
Forum: Themes and Templates
In reply to: [Krystal Lawyer] Add my own Copyright in footerHello,
Please find the same: ‘https://www.augustassociates.net/’
Forum: Themes and Templates
In reply to: [Krystal Lawyer] Add my own Copyright in footerHello,
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.