Software Engineering in Web Development, Backend Services, and More

Tag: WordPress (Page 180 of 220)

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

The WordPress Theme Customizer: When Live Preview Doesn’t Work

I’m currently working on a lengthy set of articles that are intended to provide an in-depth look at the WordPress Theme Customizer. Yes, there has been a lot of material already written on this subject.

Some of the best articles are:

And though I’ve done work with the Theme Customizer in the past, there have been a few gotchas that I’ve found when trying to work with the customer starting from the ground up.

I don’t plan to document them all here, but if you happen to be working with the Theme Customizer and you’re specifically trying to get the “Live Preview” function working and it’s not, perhaps this will help.

Continue reading

Sending Data on POST with WordPress

The title of this particular article is somewhat misleading as it has nothing to do with sending an email upon creating a new post in WordPress, but actually whenever the HTTP `POST` action has occurred.

Additionally, the methodology describing below isn’t relegated to just sending emails – it can be used when any data needs to be managed upon a `POST` request. This includes sending emails, serializing data to the database, evaluating information to be presented on the next page view, or whatever else.

Of course, one of the best ways to actually demonstrate how to do something is to give some practical example, so for all intents and possible, I’m going to show how to structure a project using the event-driven model of WordPress to send an email upon a `POST` request.

Continue reading

Using WordPress Simple Settings For The Settings API

Though I still this project may be useful for some, I've updated my personal opinions on this.

When it comes to working with WordPress, it’s no secret that I’m a fan of using the WordPress APIs as much as possible, and not circumventing the built-in functionality with vanilla PHP.

Arguably, one of the most complicated APIs to work with is the WordPress Settings API. It’s unintuitive, requires some small details to manage, and also requires a bit of repetitive code.

For many developers, the unintuitive nature and the way in which sections, settings, and options are built begs for a cleaner interface. And if you’re one of those developers, then you should check out Clif Griffin’s WordPress Simple Settings project.

Continue reading

Run a Viable Business Book Launch

A couple of weeks ago, I shared that I was recently interviewed by Curtis McHale’s latest eBook Don’t Be An idiot: Learn To Run a Viable Business.

Last week, the book officially launched so it, along with the videos from those who participated, are all available for purchase. Here’s the run down (and a coupon code) for those of you who are interested in the book.

Continue reading

Optimizing WordPress on Media Temple DV

I am no longer using Media Temple as my web host, so comments have been closed.

Though it’s typically applied to software, I tend to apply the YAGNI mentality to other things, as well. That is to say that I’d rather wait and upgrade when I need something rather than pay for something that I may never need.

Case in point: A couple of weeks ago, I outgrew my current host and needed to upgrade so I ended up going with Media Temple DV hosting.

In most shared hosting environments, you use whatever configuration they give you; however, because of the nature of the DV environment, the server is completely yours. That means that you’re responsible for tweaking Apache, PHP, and MySQL to make sure that it’s working best for your needs.

So what would a migration to a VPS environment be without a little bit of tweaking?

Continue reading

« Older posts Newer posts »

© 2026 Tom McFarlin

Theme by Anders NorenUp ↑