Best WordPress Hosting
 

Two Ways to Create Custom WordPress Blocks

The WordPress block editor was made the default editor for WordPress in December 2018. Adoption may have been slow at first, but the pace of development has increased exponentially. Today, custom blocks are at the core of extending WordPress. In Continue reading Two Ways to Create Custom WordPress Blocks

Examples of Refactoring PHP Code for Better Readability

Examples of Refactoring PHP Code for Better Readability Refactoring code is when you restructure existing code without changing its external behavior. Basically your aim is to make “bad” code better without changing the underlying functionality, and one of the key Continue reading Examples of Refactoring PHP Code for Better Readability

Getting the Best Results From WordPress Code Reviews

Code review is an integral part of the development cycle, with a direct impact on quality. Whether you’re focused on web, plugin, or theme development, thorough code review can help you improve your final product. In this article, we look Continue reading Getting the Best Results From WordPress Code Reviews

Get Started with PHP Static Code Analysis

Imagine a world where your IDE or code editor detected problems before you even ran the code. Imagine if whole categories of errors could be automatically identified and easily eliminated from your codebase. Imagine better code completion, more stable systems, Continue reading Get Started with PHP Static Code Analysis

Why You Should Use the WordPress HTTP functions to Make API Requests

Sometimes your WordPress site needs to talk to other services around the web. This almost exclusively happens using the HTTP protocol. A common example of this is when your WordPress installation contacts the wordpress.org servers to check for new versions Continue reading Why You Should Use the WordPress HTTP functions to Make API Requests

The Ultimate Overview of the WordPress Block Editor (Gutenberg) for Developers in 2022

Regardless of what you call it, the WordPress Block Editor (or Gutenberg if you’ve been following along for a while) brings some baggage along for the ride. I’ve been following the noise and #wpdrama surrounding the Block Editor for as Continue reading The Ultimate Overview of the WordPress Block Editor (Gutenberg) for Developers in 2022

Set Up Visual Studio Code and xDebug as the Ultimate Editor for WordPress Development

If you keep up with the many text editors and developer tools available, you may have heard of Microsoft’s Visual Studio Code. VS Code is a free, open source code editor that is lightweight like Sublime Text, but offers many Continue reading Set Up Visual Studio Code and xDebug as the Ultimate Editor for WordPress Development

Using JavaScript FileReader to Upload Large Files in Chunks and Avoid Server Limits

If you’ve spent any amount of time messing with PHP config files to get a file to upload, you know that uploading large files can be a real pain. You have to find the loaded php.ini file, edit the upload_max_filesize Continue reading Using JavaScript FileReader to Upload Large Files in Chunks and Avoid Server Limits

Creating a Custom addon for Local by Flywheel

Update: This post was originally written about Pressmatic before the app was purchased by Flywheel and had its name changed to “Local”. I have updated the post’s text and most of the code to reflect this change. If you’ve been Continue reading Creating a Custom addon for Local by Flywheel