Archive for the ‘WordPress’ category

WordPress Post Signature

February 18th, 2013

Thanks to a post on I found how to add a signature to a WordPress post by adding script in the functions.php file.


function add_signature($text) {

global $post;

if($post->post_type == 'post') $text .= '<div class="signature">
<img src="http:/" alt="signature" />

return $text;

They also suggested the following if you need to tweak the placement of the signature.

div.signature img {
padding: 5px;