Software Engineering in WordPress, PHP, and Backend Development

Author: Tom (Page 115 of 428)

WordPress Developer Bootcamp via Know The Code

Some time ago, I talked a bit about the WordPress Developer’s Club (which is still alive and kicking). But since that post, Tonya Mork and others have been working on something called Know The Code for the last few months.

There’s an active community, a ton of educational content, assignments, labs, explanations, examples, and so on. If you’re a budding WordPress developer or someone who’s looking to get into professional WordPress development, I recommend it.

But in an attempt to go to 11, Tonya and Know the Code is looking at offering a WordPress developer bootcamp specifically for those who are looking to take it a step beyond the code itself.

Continue reading

How to Exclude Files From PHP CodeSniffer

When you’re working with PHP CodeSniffer, and you’re doing so in the terminal, you’re likely looking to output errors into something other than your IDE.

I mean, if that were the case, you’d just have it running in your editor, right?

But there are times where you may be interested in finding the problems in other people’s code. Perhaps it’s a dependency, perhaps it’s a third-party piece of software, or perhaps it’s a favor.

Whatever the case, if you’ve set up the project directory in a way that uses Composer to include PHP CodeSniffer and you’re using the WordPress Coding Standards, then you’re likely going to need to exclude files from PHP CodeSniffer when running the program.

And this is how you can do that.

Continue reading

WordPress Admin Columns Made Easy via Admin Columns Pro

When working with WordPress plugins, the software should aim to solve a problem that a given type of user is experiencing. Granted, some plugins are more nuanced than others.

Take, for example, the idea of the various tables, lists, and columns available in the admin area of the WordPress dashboard. When working with WordPress admin columns, a good solution should expand the core functionality of WordPress and do so in an unintrusive way.

That’s what Admin Columns aims to do.

WordPress Admin Columns: WordPress Admin Columns: Admin Columns Pro

To elaborate, Admin Columns allows you to manage columns in your WordPress admin area. You can create, edit, and remove columns from the overview pages of blog posts, pages, users, comments, categories, and more. All custom post types and taxonomies are supported by the plugin.

Since 2011, the free version of the plugin has been available and installed on 80,000 WordPress-based sites; however, the latest release of Admin Columns Pro introduces many additional features.

Some of these include:

  • sorting,
  • filtering,
  • inline editing,
  • import and exporting columns.

But there’s much more to it than that. I’ve had the pleasure of speaking with David on behalf of the development team and am stoked to share what they’ve built for the lastest version of this project.

Continue reading

WordPress Plugin Interfaces: Working With Assets

One of the advantages of working with object-oriented programming is the ability to define interfaces so classes that implement those interfaces have a strict set of functions that said classes must implement.

WordPress Plugin Interfaces

That is the definition of a class interface, anyway:

An interface is a contract specifying a set of methods, fields and properties which will be available on any implementing object

But how might this look if we’re aiming to create a namespaced solution for including WordPress plugin interfaces (or an interface) for a class that can be used to enqueue stylesheets or JavaScript files?

Continue reading

Globally Installing WP-CLI for Access Across Your System

When working on WordPress-based projects that utilize Composer, there are times that we’re going to want to have certain dependencies available for our project and there are times where we’re going to want to have tools available throughout our system.

For example, for some projects, we may want to have PHP CodeSniffer with the WordPress Coding Standards available. For others, maybe not.

But having a tool like WP-CLI is something that’s likely better served when it’s available throughout the entire system rather than on a project-by-project basis. Globally installing WP-CLI is a relatively trivial matter.

It does, though, assume you have Composer already installed and available on your system.

Continue reading

« Older posts Newer posts »

© 2025 Tom McFarlin

Theme by Anders NorenUp ↑