Thread Starter
Ken
(@synsanken)
I got it working but how do I change it so the WordPress link opens in a new tab?
<?php
/**
* The template for displaying the footer
*
* Contains footer content and the closing of the #main and #page div elements.
*
* @package WordPress
* @subpackage Twenty_Twelve
* @since Twenty Twelve 1.0
*/
?>
</div><!-- #main .wrapper -->
<footer id="colophon" role="contentinfo">
<div class="site-info">
<!-- Added By Ken -->
<p>
Copyright © 2023 Kenneth R. Jones
</p>
<!-- End Added By Ken -->
<?php do_action( 'twentytwelve_credits' ); ?>
<?php
if ( function_exists( 'the_privacy_policy_link' ) ) {
the_privacy_policy_link( '', '<span role="separator" aria-hidden="true"></span>' );
}
?>
<a href="<?php echo esc_url( __( 'https://ww.wp.xz.cn/', 'twentytwelve' ) ); ?>" class="imprint" title="<?php esc_attr_e( 'Semantic Personal Publishing Platform', 'twentytwelve' ); ?>">
<?php
/* translators: %s: WordPress */
printf( __( 'Proudly powered by %s', 'twentytwelve' ), 'WordPress' );
?>
</a>
</div><!-- .site-info -->
</footer><!-- #colophon -->
</div><!-- #page -->
<?php wp_footer(); ?>
</body>
</html>
Hey @synsanken! You probably shouldn’t edit the theme’s files directly, as your changes will be overwritten when you update the theme. An easy alternative is to use this plugin — https://ww.wp.xz.cn/plugins/remove-powered-by-wp/
Thread Starter
Ken
(@synsanken)
I can remove the WordPress logo, but is that plugin going to help me put the copyright footer?
Edit: Looks like maybe I can put the notice instead. Thanks.
-
This reply was modified 2 years, 7 months ago by
Ken.