Wordpress Plugin Template

Internet Marketing

I know that when I started coding Wordpress Plugins, I had a rough time getting started. So, after spending a lot of time building them from the ground up, I eventually developed a plugin template that I start all of my plugins from.

So, after building a number of plugins from it, and “perfecting” it (read: adding time saving features, because I’m lazy and don’t like to re-write code) I’ve decided to release it to the Wordpress community so that other plugin authors don’t have to start from scratch anymore either.

Is it perfect? No - no template is. Does it speed up my plugin coding time? You bet it does!

Note: This code isn’t guaranteed in any way. This is what I use, and it saves me time but is by no means complete. (that’s why it’s a template) Use this code at your discretion, and understand that I’m in no way telling you that it will work for you, heh

That said, if it does help you, let me know, and if you feel so inclined, post about Pressography on your blog!

Download the template here (I’ve saved it as a .txt file, you’ll need to re-name it to .php)

And I also did a walkthrough video of an earlier version to show you why I included the code that I did. Check it out:


(If you can’t read the code, try full screen)

And if you’ve looked at the template I linked to above, and compared it to the video, you’ll notice that I’ve made a few changes since I did the video - I added a few more Find & Replace tokens (like {widget_slug}) to make things that much easier and faster.

Happy coding!

No Related Posts Available

Leave a Reply

Allowed tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>