"shortcode" Posts

Create a handwritten signature with a WordPress shortcode

Did you ever want to add a handwritten signature to your posts just like you would when signing a letter? Here’s a nice code snippet to create a “signature” shortcode.

First, you have to get a signature image. To do so, scan your signature or create one using your favorite photo editor. Once you have it, name it signature.jpg and upload it into your wp-content/themes/yourtheme/images directory.

Then, open the functions.php file from within your theme. If your theme doesn’t have …