Welcome! This WordPress plugin tutorial is the first part on how to create a WordPress plugin. This series is dedicated to showing you everything you’ll need to know for creating WordPress plugins.
WordPress is a very powerful tool. There are hundreds of thousands of sites worldwide that use WordPress daily. What makes it so popular is that you can extend it’s core functionality with plugins. As of this posting, there are over 20,000 plugins with about a half a billion downloads. Some people think that creating a plugin is difficult, but in reality, creating a WordPress plugin is very simple.
For the next couple of days, I’ll teach you how to create a WordPress plugin. Whether you’re an enthusiast or a serious developer, anyone can learn how to create a WordPress plugin.
Before you get started on how to create a WordPress plugin!
Before you get started, please take a moment to read the requirements below.
- You must have a basic understanding of HTML, CSS, and especially PHP.
- Any version of WordPress 3.x will do for this series. For this series, I’ll be using WordPress 3.5.1 which is the latest and stable version of WordPress as of this writing.
- You must know how WordPress works in general. You don’t have to have any programming knowledge related to WordPress, but knowing how to create a post, creating a menu, uploading plugins and so on and so forth are a must know.
I’ll be providing all files, images and videos so that you can follow along. Please take your time. Along the way, I’ll be adding challenges that’ll reinforce what you’ve learned in previous tutorials.
While it’s recommended you should watch my PHP OOP and WordPress theme tutorials, this series assumes you never programmed a WordPress plugin before. Watching those tutorials first will give you a good head start in this series though.
It’s recommended that you test all plugins on a fresh installed WordPress site so that way you won’t disturb or ruin your current WordPress powered website. Learning how to create a WordPress plugin will of course lead to some errors. After your plugin is finished, you should try testing it on a live website to ensure ultimate compatibility.
Choose an Editor
You’re free to use any editor you like, whether it be Dreamweaver or Notepad++. I highly recommend Komodo Edit. The free editor will be more than enough.
Take Your Time
Seriously, take your time. I’ll explain everything as clear as possible and include any details. This series will not cover every bit and piece of creating a WordPress plugin, but it’ll cover the most important topics and provide useful links. It’s highly suggested you create a bookmark folder named “WordPress Developer Tools” and save any links I give you.
Great, now that we’ve got that out of the way, let’s learn how to create a WordPress plugin.