Plugin Base Skeleton

I got tired working on plugins and writing the same code snippets all over again, looking in the same old tutorial sites or my favorite WP 3 Plugin Dev book. So I released a startup script for plugins – .

It contains most of the important snippets required for every plugin – registration of custom post types or taxonomies, registering activation and deactivation hooks, admin pages, metaboxes. I’m going to add widget/shortcode registration with some samples. This would make it easier to use it as a new plugin startup script and save some time about it.

I also brainstorm on the idea of making it hookable with parameters so all functions are dynamic and the script could be extended directly with inheritance or composition. Still I need to think more generally whether it would be practical and doable for all functions.

5 thoughts on “Plugin Base Skeleton”

  1. Alex Booth says: September 11, 2012 at 9:55 pm

    This is a great way to build a plugin without having to research all the basics. Thanks!

  2. admin says: September 12, 2012 at 12:12 am

    Thanks, I’ve planned to update it, I just need a couple of hours to add a few more features. 🙂

  3. Christiane Lagacé says: November 12, 2014 at 11:43 pm

    Thanks for this ! Il will use it with my students in WordPress class !

  4. Mario Peshev says: November 13, 2014 at 12:34 am

    Glad you like it – let me know how it goes 🙂

Leave a Reply

Your email address will not be published. Required fields are marked *