Change website copyright footer position
1. Login WordPress
2. Edit Stylesheet
#site-generator .copyright {
float: none;
text-align: center;
padding-top: 2px;
width: 100%;
color: #fff;
}
#site-generator .copyright a {
color: #888;
}
#site-generator .copyright a:hover {
color: #63c6ae;
}
3. Edit footer.php
<div class="copyright">
<p> <?php echo esc_html(get_theme_mod('advance_fitness_gym_footer_copy', __('Copyright 2018 -', 'advance-fitness-gym')));?></p>
<!-- <?php advance_fitness_gym_credit();?> -->
</div>
<?php wp_footer();?>
Themes [Interface] change the copyright setup:
1. Edit /public_html/876/wp-content/themes/interface/inc/footer_info/interface-footer_info.php
function interface_wp_link() {
return '';
}
/**
* To display a link to interface.
*
* @return string
*/
function interface_themehorse_link() {
return '';
}
2. Edit /public_html/876/wp-content/themes/interface/inc/structure/footer-extensions.php
Original :
function interface_footer_info() {
echo '<div class="copyright">' . __( 'Copyright © ', 'interface' ) . interface_the_year() . interface_site_link() . ' | ';
interface_themehorse_privacy();
echo __( 'Theme by: ', 'interface' ) . interface_themehorse_link() . ' | ' . __( 'Powered by: ', 'interface' ) . interface_wp_link() . '</div><!-- .copyright -->';
}
Change to :
function interface_footer_info() {
echo '<div class="copyright">' . __( 'Copyright © ', 'interface' ) . interface_the_year() . interface_site_link() . '</div><!-- .copyright -->';
}
3.Edit /public_html/876/wp-content/themes/interface/style.css
#site-generator .copyright {
text-align: center;
font-size: 18px;
padding-top: 2px;
width: 100%;
}
2. Edit Stylesheet
#site-generator .copyright {
float: none;
text-align: center;
padding-top: 2px;
width: 100%;
color: #fff;
}
#site-generator .copyright a {
color: #888;
}
#site-generator .copyright a:hover {
color: #63c6ae;
}
3. Edit footer.php
<div class="copyright">
<p> <?php echo esc_html(get_theme_mod('advance_fitness_gym_footer_copy', __('Copyright 2018 -', 'advance-fitness-gym')));?></p>
<!-- <?php advance_fitness_gym_credit();?> -->
</div>
<?php wp_footer();?>
Themes [Interface] change the copyright setup:
1. Edit /public_html/876/wp-content/themes/interface/inc/footer_info/interface-footer_info.php
function interface_wp_link() {
return '';
}
/**
* To display a link to interface.
*
* @return string
*/
function interface_themehorse_link() {
return '';
}
2. Edit /public_html/876/wp-content/themes/interface/inc/structure/footer-extensions.php
Original :
function interface_footer_info() {
echo '<div class="copyright">' . __( 'Copyright © ', 'interface' ) . interface_the_year() . interface_site_link() . ' | ';
interface_themehorse_privacy();
echo __( 'Theme by: ', 'interface' ) . interface_themehorse_link() . ' | ' . __( 'Powered by: ', 'interface' ) . interface_wp_link() . '</div><!-- .copyright -->';
}
Change to :
function interface_footer_info() {
echo '<div class="copyright">' . __( 'Copyright © ', 'interface' ) . interface_the_year() . interface_site_link() . '</div><!-- .copyright -->';
}
3.Edit /public_html/876/wp-content/themes/interface/style.css
#site-generator .copyright {
text-align: center;
font-size: 18px;
padding-top: 2px;
width: 100%;
}
留言
張貼留言