Australia's Leading Digital Marketing Experts. T. 1300 235 433  |  Aggreagtion Enquires Welcome

Custom Footer Text & Link

In the footer of your WP install you will notice the text that says something like "Thank you for creating with WordPress". To change it to anything of your choosing, use the following function.

Copy and paste the WordPress function into your theme's functions.php file or, if you sensibly have one installed, your custom functions plugin.

1
<?php 
2
/*
3
    Custom Footer Text & Link
4
    http://www.beliefmedia.com/code/wp-snippets/custom-footer-text-link
5
*/
6
 
7
 
8
/* Change WP Footer Text */
9
10
 echo '<span id="footer-text">Site by <a href="http://www.beliefmedia.com/" target="_blank" rel="noopener noreferrer">beliefmedia</a>. Support: 02-5555-5555';
11
}
12
add_filter('admin_footer_text', 'beliefmedia_remove_footer_admin');

If you wanted to alter the footer version (on the right hand side of the footer), you could use the following code:

1
<?php 
2
/*
3
    Custom Footer Text & Link
4
    http://www.beliefmedia.com/code/wp-snippets/custom-footer-text-link
5
*/
6
 
7
 
8
9
 return 'Footer Version changed to <a href="http://www.beliefmedia.com/">link</a>';
10
}
11
add_filter( 'update_footer', 'beliefmedia_change_footer_version', 9999);

Like this article?

Share on facebook
Share on Facebook
Share on twitter
Share on Twitter
Share on linkedin
Share on Linkdin
Share on pinterest
Share on Pinterest

Leave a comment