How to organize custom code for plugins & themes

You have lots of plugins, and even a theme. You are brave and adventurous – and you write (or copy-paste) lots of snippets to modify their default behavior. Now you have a custom code all over the place and even in your theme functions.php.
Is there a better way to fix that mess?


What would you do if WordPress lost significant market share?

Recently Ryan (@modemlooper) posted a question on Twitter: It so resonated with me, so I decided to write a more lengthy answer. The introduction to the problem WordPress is big right now, with 26+% of the web it gives ability to reach millions of customers if you create a business around it. But that […]