Skip to content

Instantly share code, notes, and snippets.

@claudiosanches
Created October 2, 2012 16:42
Show Gist options
  • Save claudiosanches/3820891 to your computer and use it in GitHub Desktop.
Save claudiosanches/3820891 to your computer and use it in GitHub Desktop.
Rodapé
<?php
/*
Plugin Name: Adiciona Rodapé
Plugin URI: http://www.claudiosmweb.com/
Description: Adiciona um rodapé no blog.
Version: 1.0
Author: Claudio Sanches
Author URI: http://www.claudiosmweb.com/
License: GPL2
*/
function adiciona_rodape() {
echo '<p style="color: #fff; background: #444; font: 13px/19px Arial, Verdana, sans-serif; margin: 0; padding: 20px 0; text-align: center; width: 100%;">' . __( 'Oi eu sou um rodapé =P' ) . '</p>';
}
add_action( 'wp_footer', 'adiciona_rodape' );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment