WP Footer HTML
December 16, 2009Formerly WPMU Footer HTML at InstalledDesign.com now on RGVRockCity.com Web site developement.
Ever get tired of having to update the footer to every theme you upload to your WordPress powered Web site?
This plugin enables admins to add a piece of arbitrary HTML to the footer of their WP Theme. Compatible with WPMU. The WP theme or WPMU theme must have the wp_head() and wp_footer() hooks to function properly. Currently there is no backend support and the file must be edited using a TEXT or PHP editor.
download: WP Footer HTML (871B)
description:
Formerly WPMU Footer HTML at InstalledDesign.com. This plugin enables admins to add a piece of arbitrary HTML to the footer of their WP Theme. Compatible with WPMU. The WP theme or WPMU theme must have the wp_head() and wp_footer() hooks to function properly. Currently there is no backend support and the file must be edited using a TEXT or PHP editor.donations:
Donations are appreciated and always accepted. If you have found this download useful, please consider donating a couple of bucks for the cause.license:
WP Footer HTML by Jorge Saldivar is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 United States License. Based on a work at rgvrockcity.com.Installation:
WordPress Single Install – Un-zip the file and upload to your http://example.com/wp-contents/plugins/ directory. The arbitrary HTML will appear in the footer of the theme even after you change themes.
WordPress MU Install – Un-zip the file. Edit the file using a text or PHP editor and upload to your http://example.com/wp-contents/mu-plugins/ directory. The arbitrary HTML will appear site-wide.
Editing:
The plugin works on two WordPress hooks, wp_head() and wp_footer(), so any theme must have those two hooks to function properly.
CSS – Edit the code within the specified text.
<!-- START WP FOOTER HTML CSS -->
<style type="text/css">
div#wp-footer-html {
text-align: center;
}
</style>
<!-- END WP FOOTER HTML CSS -->
HTML – Edit the code within the <div> tags.
<div id="wp-footer-html"> <p>Powered by <a href="http://wordpress.org">WordPress</a>. <?php $theme_data = get_theme_data(TEMPLATEPATH . '/style.css'); echo $theme_data['Title'] . ' '; echo $theme_data['Version'] . ' by '; echo $theme_data['Author']; ?>.</p> </div><!-- id="wp-footer-html" -->
WP-ADMIN – Uncomment the lines to have footer appear in the Dashboard area.
<?php } // DO NOT EDIT PAST THIS LINE!!!
add_action('wp_head','jaswpfooter_css');
add_action('wp_footer','jaswpfooter_html');
// UN-COMMENT THE FOLLOWING LINES IF YOU WANT THE FOOTER TO APPEAR IN THE WP-ADMIN AREA
// add_action('admin_head','jaswpfooter_css');
// add_action('admin_footer','jaswpfooter_html','1');
?>
Development:
Anyone is welcome to work on this plugin, however, I ask that you let us know what edits have been made to include it in future releases.
Enjoy!