Plugin Update

I have given up on the Share This plugin for now. No time to mess with it anymore. I am back to using the social bookmarks plugin, but I like the way Share This works and looks much better. When I have more time, I will try again.

Yesterday, I added the WP-chgFontSize plugin, which is pretty cool. I wish it used ems or percentages instead of pixels for the font-sizes, but can see how that might get tricky with the javascript. I added some code to include a link to return to the default font size. It was bugging me that the only way I could return to the default size was to delete the cookie from my computer. I like to have an ‘undo’ option whenever possible. If anyone else is interested in having this option, here is the code:

In the wp-chgfontsize.js file, right after this else block (around line 82):

} else {
document.write('&nbsp;<a href="javascript:void(0);" onclick="chgFontSize_increase();"><img src="' + chgfontsize_imgincdea.src + '" title="Increase Font Size" alt="A+" id="chgfontsizeimginc" /></a>&nbsp;');
}

Add this:

document.write('&nbsp;<a href="javascript:void(0);" onclick="chgFontSize_change(15);" title="Default Font Size">default</a>');

Replace the 15 with whatever your default font size is.

Just when I thought I was finished experimenting with plugins for today, I realized that even when using <code> tags, the code was not displaying right in this post. Hyperlinks were actual working hyperlinks, image tags were showing the image, and &nbsp; html codes were making spaces.

Enter my newest plugin, Code Markup, which makes the code tags work right. It is kind of annoying to use a plugin for something that is supposed to happen automatically, but it seemed like the quickest, easiest solution to make it work.

Still, you gotta love that there is a wordpress plugin for just about everything! I am using 26 of them right now on this site.

Bookmark and Share