Learn Plugin Development

Learn to create custom WordPress plugins with these plugin development tutorials. Get code examples, best practices, and tips to develop useful, popular plugins.

All Plugin Development content:

  1. Using Namespaces and Autoloading in WordPress Plugins, Part 4

    Using Namespaces and Autoloading in WordPress Plugins, Part 4

    Tutorial Intermediate

    In the final part of this series, we'll employ everything we've learned thus far by applying namespaces to our code and writing our own autoloader.

  2. Creating a Custom WordPress Messaging System, Part 4

    Creating a Custom WordPress Messaging System, Part 4

    Tutorial Intermediate

    In this tutorial, we'll have a complete refactored solution that uses some intermediate object-oriented principles like inheritance. We'll also have a few...

  3. Creating a Custom WordPress Messaging System, Part 3

    Creating a Custom WordPress Messaging System, Part 3

    Tutorial Intermediate

    In this tutorial, we'll begin implementing our Settings Messenger by adding support for errors and success messages as well as covering some points on security.

  4. Creating a Custom WordPress Messaging System, Part 2

    Creating a Custom WordPress Messaging System, Part 2

    Tutorial Intermediate

    We're going to be making a call to the custom hook that we'll define, and we'll wire that up on the server-side. We'll also start the groundwork for our...

  5. Creating a Custom WordPress Messaging System, Part 1

    Creating a Custom WordPress Messaging System, Part 1

    Tutorial Intermediate

    It's possible to implement a system that allows us to programmatically set our own custom messages, their type, and when and where to display them on the...

  6. Object-Oriented Autoloading in WordPress, Part 2

    Object-Oriented Autoloading in WordPress, Part 2

    Tutorial Intermediate

    In this tutorial, we're going to take a practical approach to our WordPress plugin by introducing object-oriented concepts learned from the previous tutorial...

  7. Object-Oriented Autoloading in WordPress, Part 1

    Object-Oriented Autoloading in WordPress, Part 1

    Tutorial Intermediate

    In this follow-up series and starting with this post, we're going to be revisiting the concept of autoloaders from the perspective of object-oriented...

  8. Using Namespaces and Autoloading in WordPress Plugins, Part 3

    Using Namespaces and Autoloading in WordPress Plugins, Part 3

    Tutorial Intermediate

    In this tutorial, we're going to take a break from writing code and look at what PHP namespaces and autoloaders are, how they work, and why they are...

  9. Using Namespaces and Autoloading in WordPress Plugins, Part 2

    Using Namespaces and Autoloading in WordPress Plugins, Part 2

    Tutorial Intermediate

    In this series, we're taking a look at exactly what PHP namespaces are, why they are beneficial, and how to use them. But first, we're laying the foundation...

  10. Getting Started With the Twitter Info Widget

    Getting Started With the Twitter Info Widget

    Tutorial Beginner

    There are a number of fantastic tools available for WordPress-based sites and blogs available in CodeCanyon. In this video, we take a look at one that allows...

  11. Using Namespaces and Autoloading in WordPress Plugins, Part 1

    Using Namespaces and Autoloading in WordPress Plugins, Part 1

    Tutorial Intermediate

    In this series, we're going to take a look at exactly what PHP namespaces are, why they are beneficial, and how to use them. Then we're going to take a look...

  12. Building a Welcome Page for Your WordPress Product: Code Part 2

    Building a Welcome Page for Your WordPress Product: Code Part 2

    Tutorial Beginner

    In my previous post of this series, I started building a welcome page for a WordPress plugin. In this final article, I'll discuss the remaining plugin files...