Add Global Footer to All WordPress Multisite Network Themes

wordpressIf you run a WordPress multisite setup and want to add a global footer to all the themes of all the sites in your network, here’s how to do it:

Create the php file below and upload it to your wp-content/mu-plugins folder

<?php
function my_custom_footer() {
    echo 'YOUR HTML CODE GOES HERE';
}
add_action( 'wp_footer', 'my_custom_footer' );
?>

That’s it.

via wordpress.stackexchange.com

Comments are closed.