“Requiring” Plugins

I’ve started working on a redesign of this site (spoiler alert: it’ll be responsive! Eventually.), and one thing that’s kind of dogged theme developers (I think) is what to do about plugins that are pretty much required in order to make your theme go.

To this point, it hasn’t been an issue for me. Pretty much every theme I’ve developed has been unique for a particular client, and I have as yet attempt to release a theme to the WordPress theme repository. Ergo, if I required a plugin for the project, I installed it. Boom, done. However, in creating a theme for the general masses, I could totally see me needing to include something like a plugin that lets you add classes to widgets and that sort of thing.

So the question becomes, how best to go about this? I see three possible solutions:

Continue reading ““Requiring” Plugins”

TC Custom Taxonomy Filter

I’ve got a new plugin for your WordPress enjoyment: TC Custom Taxonomy Filter.

What does it do? Well, you know how in the dashboard you can filter your posts and pages by their category? Yeah, well natively you can’t do that with custom taxonomies. And with custom post types and custom taxonomies quickly becoming a really big thing, it seems like very useful functionality.

Continue reading “TC Custom Taxonomy Filter”

Update to TC Comment Out

Fresh off the presses, I have an update to my original WordPress plugin, TC Comment Out. I’ve added the ability to add an attribute that will completely remove the commented out text from the finished page altogether, rather than hide it inside HTML comments (which, by the way, is still the default behavior). So now, if you’re so paranoid (and they really are out to get you!) that you don’t even want the commented text viewable when the visitor to your site views the source HTML in the browser, you now have that option.

Continue reading “Update to TC Comment Out”

Using Time in Your WordPress Plugin

I just had a rather frustrating experience trying to use a timestamp in a plugin I’m writing.  Even though I have my timezone dutifully set in my php.ini file, as all good PHP 5.3.* developers should, the timestamp that WordPress was giving me in the admin section was for UTC instead of America/New_York.

Continue reading “Using Time in Your WordPress Plugin”