Software Engineering in WordPress, PHP, and Backend Development

Author: Tom (Page 153 of 428)

Hosting Office Hours with Carrie Dils

Many of you are likely familiar with Office Hours with Carrie Dils. But if not, here’s what the show is all about:

Every Thursday at 2p ET as Carrie interviews a variety of folks within the WordPress ecosystem, from plugin developers to marketers to business owners. The one thing they have in common? Each guest has found business success through leveraging WordPress as both a tool and a platform.

I had the honor of appearing on the show in previous episodes and had a great time. I also recommend tuning in when you have a chance as it’s a great, free opportunity to hear and learn from others.

Office Hours with Carrie Dils

Weeks ago, Carrie celebrated her 100th episode (which is an awesome feat in and of itself).

Continue reading

Bootstrapping JavaScript Files in WordPress

We talk a lot about the idea of having bootstrap files in WordPress plugins, which I think are great, but we seem to limit it to those files that are responsible just for starting our WordPress plugins.

Bootstrap JavaScript File

This isn’t exactly what I meant, but I dig the picture.

I mean, hooking into plugins_loaded and then instantiating some classes, setting up a service registry, or things like that are important. But what about other components that make up our plugins?

And by that, I mean what about our JavaScript files? Should they have their way to be bootstrapped?

Continue reading

Displaying Custom Messages in WordPress, Part 2

In the previous post, I started walking through what we need to do to display custom messages in WordPress. This is specifically in the case of when we are opting to use something other than the Settings API.

Custom Messages in WordPress

In the previous post, I covered the following:

  • Looking at what happens when you use a safe redirect via one of the available WordPress functions,
  • Serializing custom error messages
  • Saving them to the database

To follow-up with what was previously covered, I’ll show how to render these messages – regardless of if they are error messages, notices, or success messages – on the administration page.

Continue reading

Displaying Custom Messages in WordPress, Part 1

When working with the Settings API (or any other API that handles options, serialization, validation, and page redirections), dealing with custom messages in WordPress isn’t something that we typically have to worry about it.

Custom Messages in WordPress, Part 1

The API takes care of all of that for us, and if we need to use other pieces of information, like the query string, we’re able to take advantage of API functions like get_query_var to check for the presence of a given value without much thought for how it was added in the first place.

But what about when you’re working on your administration page, and you need to display custom messages in WordPress after a redirect?

Continue reading

A Critical Update to Scheduled Post Shortcut?

Based on active installs, ratings, and the like, Scheduled Post Shortcut isn’t what you’d call a popular plugin. Far from it, actually. But I’m okay with that.

Remember that when Eric and I first started releasing these plugins, the goal was not only to create small plugins that solved problems we were experiencing as bloggers, but also to do so in a way that made it as simple as possible for others to use in their day-to-day writing.

And since there are problems that he and I still experience, we continue to update the plugin.

Continue reading

« Older posts Newer posts »

© 2025 Tom McFarlin

Theme by Anders NorenUp ↑