Software Engineering in Web Development, Backend Services, and More

Tag: WordPress (Page 54 of 220)

Articles, tips, and resources for WordPress-based development.

Fix Valet, WordPress, Ajax, Bad Gateway

Some time ago, I went back to using Valet for local development, and I’ve been happy with it since. Up until sometime last week, I’d yet to run into any problems.

Fix Valet, WordPress, Ajax, Bad Gateway: Valet

But when working on a WordPress plugin that imports data using admin-ajax, I kept getting a curious message in the console no matter how large or small the data was. Specifically, I was getting an error about “502 (Bad Gateway).”

The server, while acting as a gateway or proxy, received an invalid response from an inbound server it accessed while attempting to fulfill the request.

And if you try to diagnose it based on that definition, you won’t get very far. It’s not that it’s wrong, but it’s that you need to modify your server configuration.

Luckily, it’s easy. Or it’s likely easy.

Continue reading

WordPress-Focused Continuous Integration with CircleCI

Writing about continuous integration or continuous deployments seems a little funny to me given that I’ve done this before and given that I know a lot of developers already use this as part of their day-to-day.

But I also know that there are a lot of hobbyists, beginners, and those who are just starting out who are looking for ways to make sure they are setting up solid practices for their work.

For what it’s worth, it wasn’t until I started working with a few more people that we began to incorporate a wider set of tools in our deployment process.

And that’s the purpose of this post.

That is:

  1. introduce the whole idea behind WordPress-focused continuous integration,
  2. introducing CircleCI,
  3. getting ready to chat more about it.

With that said, here’s the run down on all of the above.

Continue reading

Using WP-CLI on Your Host (Regardless of Your Host)

At this point, I think most people who develop solutions WordPress on a regular basis are familiar with using WP-CLI. Installing it locally on your system is one thing, using it on your host is another (but it’s all the same once you’re connected).

Case in point: Lately, I’ve been spending a few evenings and times during the weekends working on this site and trying to get it ready for the upcoming redesign. Part of doing that includes using WP-CLI.

If you’re someone on SiteGround (or any host that support WP-CLI, really) and are looking for how to get started using WP-CLI on your host, here’s a quick primer that should provide you everything you need to know to get up and running.

Continue reading

Preparing For Memberships and More

For the better half of at least a couple of years, I’ve blogged nearly every day of something related to WordPress. This may be something dealing with blogging, speaking, resources, programming, notes, or other various articles.

To say that writing is something I enjoy doing is an understatement, and being able to do it using software I like and on which we build solutions for others is something that isn’t something I don’t take for granted.

For those who read every day, you’ve likely recognized that I’ve not been posting as frequently as I normally do. Part of this is simply because life has gotten extremely busy. The other part of it has to do with what I’m planning to do with this site in the coming weeks.

Continue reading

WordPress Admin Notice Plugins (And Why Options Are Good)

A couple of days ago, someone shot me a link to Dobby (no the house-elf, but sorta – and it would’ve been just a bit cooler, right? :). In short, it’s one of the various WordPress admin notice plugins that I think is worth checking out.

WordPress Admin Notices

It’s written by Thorsten Frommen (who inspired this post, to be honest) and a developer for whom I have a lot of respect.

The plugin’s description is as follows:

Dobby, the friendly Admin Elf, takes care of all your (unwanted) admin notices.

The emphasis added is mine, but it sounds a little familiar, doesn’t itThe drama.

Or not. 🙂

Continue reading

« Older posts Newer posts »

© 2026 Tom McFarlin

Theme by Anders NorenUp ↑