Category: PHP


  • Creating Gutenberg blocks with Advanced Custom Fields

    , ,

    Playing with Gutenberg can be fun. But creating blocks in JavaScript can be tough. But ACF will be giving developers help in the future.

    Read This Post
    Person looking at laptop showing Gutenberg editor with custom ACF block
  • Object-oriented programming in a Gutenberg world

    , ,

    So now that we know why object-oriented programming might be good for your next WordPress plugin, let’s try it with a plugin that creates custom Gutenberg blocks.

    Read This Post
    A laptop screen showing code for a PHP class
  • 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
  • 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