How To Add Header And Footer Code In WordPress

In this tutorial we are going to show you how to insert code to you WordPress footer using function.php file.

function custom_footer_function() {
echo '<div class="copyright">© Copyright 2016 www.phpblogspot.com. All Rights Reserved.</div>
</div>';
}
add_action( 'wp_footer', 'custom_footer_function' );

Leave a Reply