i’ve modified Brian “Coldforged” Dupuis’s Plugin “Image-Headlines” a little bit (the core is untouched) in order to use one of the numerous techniques of Image-Replacement.
The original Plugin works fine and does its job perfect, but personally, i didn’t like the fact that it replaces the headline with an image, so the headline text only shows up as alternate image-text.
My modifications turn the output of the_title(“-image-“); from a complete img-element into inline-styles that can be put into a template like this
<h3 style="<?php the_title("-image-"); ?>
the result looks like this:
<h3 style="background: url(headlinefromcache.png) no-repeat; width: 200px; height: 45px;">
In order not to overwrite the fancy image with the text itself in contrast to the original version of the plugin modifications to the Stylesheet are necessary (to hide text). The technique to do so is called “Image Replacement” and some further readings are provided on the page below. (FIR, PIR, MIR, BIR, and so on…)
Details & Download Revised Image Headlines
this is only a minor tweaking of the plugin, so if you like the plugin donate at coldforged.org …
- The topic ‘(new) Plugin: Revised-Image-Headlines’ is closed to new replies.