Hey there! I'm currently working on a CLI tool to deploy WordPress apps to DigitalOcean. Check it out! It's free and open source.
Tip: Stop this “without a plugin” crap. Your functions.php snippets are as much overhead as plugins, but harder to maintain. #wordpress
— Konstantin Kovshenin (@kovshenin) January 4, 2012
Posted this yesterday on Twitter, thanks for all the retweet and fave love! I started seeing quite a lot of tweets and posts on how to do things “without a plugin” in WordPress and 99% of them involve writing snippets in your theme’s functions.php file. Now, how does that differ from writing a plugin?
- It’s more difficult to manage and maintain.
- If something stops working you can’t “deactivate” your functions.php snippets one by one to figure out which is causing the problem, you can do this with plugins.
- When you switch to a new theme you’ll have to port and then merge and cleanup the functions file too.
- It’s easier to share plugin files than it is to share functions.php snippets.
I’m pretty sure there are a lot more reasons. So dear all, write plugins, even if they’re dead simple and do one thing only. The “all in one” plugins carry the real overhead which is never used. Then, when you’re ready, submit your plugins to the WordPress.org Plugins Directory to give back to the community. That’s why the open source WordPress is so strong.