Plugin Wishes Come True
Just a quick update to the post I wrote about plugins I’m too lazy to write. Steve Whiteley put together a plugin for Subtitles that is exactly how I envisioned it. For my wishes about avoiding widows in post titles, Shaun Inman had the solution years ago. (Shaun’s site is down for me right now, but I’m sure won’t be for long).
The one I was really hoping to see is the “plugin notes” (add a text field to each plugin on manage plugins page to add notes as to why it’s being used) idea, but no bites yet.
thanks you for this Plugin
I like the SubHeading plugin very much, too. Unfortunately its has two small issues:
I’ve tried to send Steve two patches for fixing this issues. Unfortunately he hasn’t published a contact address so I sent a mail to postmaster(at)36flavours.com. Hopefully he received the mail and integrates the patches.
Cool, maybe Steve will read this too and be able to fix it.
Haven’t tried the plugin, but from the looks of the code, get_the_subheading just echoes out the subheading. The default for the “display” param for that function should probably be set to false.
Is there a wp hook that this could be attached to so you don’t have to alter template files? I’ll whip up a short screencast to show how to do it, but I can’t find a hook that appears after .entry-title.
If anyone knows of a hook that would work well, let me know.
Another issue that came to my mind is that the subheader is not shown in the feeds. Since there are no templates for feeds, it has to be done using a filter. I’ve written a German post about a similar problem. I will translate it tomorrow into English and assume the addition to the plugin author (if I ever can contact him).
Hm, I might take a crack at plugin notes :)
And here you go :)