I (finally) spent a couple of hours a few weeks ago and built a WordPress PlugIn to handle this for me. I also went through the required steps — including researching enough about SubVersion to get the job done — to publish my plugin to the WordPress PlugIns database. That means that now you, too, can add this functionality to your blog.
The most difficult part of writing the plugin was determining how to modify the Edit Post menu in both the WYSIWYG / TinyMCE view and the plain-text / HTML view. Once I was able to do that the rest of it was pretty simple.
In addition to adding two buttons which allow you to quickly generate Amazon affiliate links, this plugin also adds two ‘generic’ buttons — one to create a custom span and another to create a custom div. You can set a default HTML class to these buttons in the plugin’s settings panel. I have the span set by default to be my “dropcap” class and the div set to be my “pullquote” class, but you can set yours to be anything you want.
Get David’s Ultra QuickTags plugin.
New comments are disabled on this post.