This plugin creates image replacements for HTML tags. Generally it will be used to replace the titles for posts, but it can replace any HTML tags with images of the text in any font (yes you can replace p tags, but this a Bad Idea™).
It replaces the HTML tags you specify (in options) with an image of the text. So, if in your template you have your post titles set as a
h3 tag, & you’d like them to be images, you go into the plugin’s options and create a new replacement for
h3 tags and set the font, colour, size, etc. There is provision to limit to certain classes too (i.e. only replace
h3 tags with a class of
The obvious question is:
Why create a plugin to do this when a perfectly good one already exists? Firstly let me say this is in no way a disparagement of the Image Headlines plugin, which is very cool, I just wanted a different way of doing it. With the Image Headlines plugin, you need to edit your template files to set which template tags you wanted to replace, which I’m far too lazy to do. Also if I disabled the plugin, it broke my template because it left
-image- in front of the text. I also could have fixed this, but as I said, lazy.
This plugin is designed for WordPress 2+, but it should work with earlier versions. Please let me know if it doesn’t.
Download the zip file using the download link under ‘Plugin Information’. This zip file contains the latest stable version of the plugin, which is a php plugin file and a fonts folder containing one font (A Yummy Apology). Extract this zip file into your
wp-content/plugins/ folder, then go to the plugins page in WordPress and activate the Image Replacements plugin. To use different fonts, simply copy the ttf or otf fonts into the
wp-imagereplacement-fonts folder that is now in your plugins folder.
There are general options that apply to all image replacements, and they have mostly to do with caching. You can set whether to use the cache (highly recommended), where the cache files will be located and how many days before the cache is cleared. You can also set what the demo text is; this is just the text that you see on the options page as an example of the image replacement you’ve created.