The lolcat title reference aside, I have actually started producing WordPress plugins for myself. I’ve always wanted to make them, and so a while back I set aside a day (well two, once I got the hang of it) and learned. Granted I’ve still got a ways to go, but at least I’ve finally got my foot in the door with it all. The trick is to make sure to create things that are actually useful so that people will actually use them.
So as a result of my tooling around with WordPress, I’ve created two plugins for people to use.
In one of my older site layouts, I had a random quote displaying at the top of the page. The original logic was based very much on the Hello Dolly plugin that comes shipped with WordPress. Even though I no longer use the function within my layout, I still had the code and I felt that with a little revision, this could be a psudo-useful plugin.
So one morning I did exactly that. RandomQuotr was born, and with it came the ability to store all of the quotes within the WordPress database, as opposed to the PHP array that it started out as. Some more functionality was added to allow the selection of specific quotes.
I was a big advocate for using “the_excerpt()” for my sites layout, because it allowed me to split up my content and work around my theme. the problem is that using “the_excerpt()” sucks for many reasons:
- The field is HTML only.
- The field is tiny and cannot be re-sized.
- It requires you to break up your most in a less than stellar way.
Based on an old post of mine, PostDivider allows the user to get the content before and after the <!–MORE–> tag separately. With PostDivider, hooks are provided to allow the Theme to display the text directly (echoing it), or returning the content as a value from the function. If no <!–MORE–> tag is provided, it will return the_excerpt() and the_content() respectively.
So far those are the only ones I’ve developed. I’ve got a couple ideas for more, when I get around to building my portfolio and the like.
I’m always looking for feedback or suggestions, so feel free to email me or leave a comment.