Category: Plugin Development


  • Object-oriented programming in WordPress plugins

    , ,

    Creating a WordPress plugin is pretty simple. It’s just another functions.php file, right? But what if you tried creating a plugin with object-oriented programming.

    Read This Post
    A laptop screen showing code for a PHP class
  • Changing a shortcode to a dynamic Gutenberg block

    , , ,

    Gutenberg is coming, and it will shake up the ecosystem. One of the biggest changes will come with shortcodes, since the TinyMCE editor will be no more. But it’s pretty easy to turn shortcodes into the blocks with dynamic blocks.

    Read This Post
    Screenshot of the Gutenberg Add Blocks popover
  • Adding filter and action hooks to your WordPress plugin

    , ,

    WordPress is known for its customizations, but sometimes as plugin or theme developer, it can be tricky to figure out how to let your users add in customizations. That’s where filters and hooks come into play.

    Read This Post
    Screenshot of screen with code for a custom WordPress filter
  • Why you should create a webpage for your WordPress plugin

    ,

    A dedicated webpage for your WordPress plugin gives you more credibility in the flooded plugin market and give your users a place to get help. So why haven’t you created a page for your plugin?

    Read This Post
    Screenshot of JM Breaking News webpage
  • How to add a WordPress admin page to add data to a custom table

    , , ,

    So you have a custom table, but how do you get data in there the WordPress way? This tutorial shows you how to create an admin page and insert data into that table.

    Read This Post
    Screenshot of laptop with code to add a custom WordPress admin page
  • How to create a custom table in WordPress and why

    , , ,

    WordPress comes with a number of basic tables created in your site’s database. But sometimes those tables aren’t quite enough. And sometimes a custom table is needed.

    Read This Post
    Screenshot of laptop showing phpMyAdmin of a WordPress database table
  • A simple guide to adding a WP REST API controller

    , ,

    The WP REST API is still a hot item in WordPress core. And this tutorial will show you how easy it is to make your own REST API endpoint for your plugin and custom data.

    Read This Post
    Laptop screen showing code for a custom WP REST API controller
  • What I learned in a year with Sports Bench

    , ,

    It’s been about a year since I released Sports Bench, a plugin/theme package that keeps track of sports stats for your league. So what have I learned in the last year with it?

    Read This Post
    An iMac with a screenshot of the Sports Bench homepage
  • Why you should be packaging a functionality plugin with your premium theme

    , ,

    If you’re going to be selling a WordPress theme with cool features, please make sure to move those features into a functionality plugin to go with the theme. Your customers will appreciate you even more.

    Read This Post
    Screenshot of the edit plugin file screen in the WordPress admin
  • What a custom functionality plugin is and why you should use one

    ,

    A lot of tutorials have you put custom code in the functions.php file. But if it affects WordPress itself in anyway, that code should really go in a functionality plugin.

    Read This Post
    Screenshot of the edit plugin file screen in the WordPress admin