/ Published in: PHP

Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
function sc_signature() { return '<div id="signature"></div>'; } add_shortcode('signature', 'sc_signature'); #signature { background:url(images/signature.jpg) no-repeat top left; width:100px; height:100px; } Note: You may have to edit the width and height to fit your image size. Now, when you’ll want to insert your signature at the end of a post, simply switch WordPress editor to HTML mode and type the following: [signature]
URL: http://www.wefixwp.com/create-a-handwritten-signature-with-a-wordpress-shortcode/
Comments
