Software Engineering in WordPress, PHP, and Backend Development

Author: Tom (Page 317 of 427)

Retiring WP Audio Player For WordPress

With the recent release of WordPress 3.6 and its built-in support for audio files, I’m opting to to halt development on WP Audio Player for WordPress plugin.

WP Audio Player For WordPress

Here’s the thing: This has nothing to do with WordPress folding something into core that was once available via plugins and putting a plugin “out of business.”

Mostly, it has to do with my personal preferences and opinion behind the core libraries used in WordPress 3.6.

Continue reading

Improve Your WordPress Development Skills

Comments are closed on this post. If you have questions or comments, email me!

Last night, I sent out the first email to the subscribers for the Improve Your WordPress Development Skills class that I’ve discussed over the past couple of weeks.

The email hit on the following points:

  • What’s covered in the class
  • When the course will be held
  • The pricing
  • Some of the bonus content that’s coming after the course
  • …and more

Continue reading

Quick Tip: Disable Auto-Updating of CodeKit Settings

When it comes to CodeKit, there are normally global CodeKit settings that I use; however, a number of the projects that I work on often result in some minor deviation from my core settings.

For those who have used CodeKit regularly, you know that you can set per-project settings, but if you’re using a project that’s under source control, there’s likely one irritating factor that you’ve noticed.

Continue reading

The Dangers of Using pre_get_posts in WordPress

In the previous post, I talked a bit about using `pre_get_posts` and how to efficiently exclude categories from the main loop.

Of course, in posts like that, the code is meant to be a point of reference or a starting place for which more advanced functionality can be written.

But one thing that I failed to mention about using `pre_get_posts` in WordPress is that it’s not limited to the public facing side of the site.

Continue reading

How To Efficiently Exclude Categories From The WordPress Loop

When it comes to writing custom queries in WordPress, `WP_Query` is the API to use. And I could be mistaken, but I do see a lot of people urging developers to avoiding using `query_posts` in WordPress in favor this newer-ish API.

But the thing is that `query_posts` still has its place in WordPress development namely in modifying the results of the data queried for The Loop when rendering blog content; however, one of the the biggest caveats is the performance that `query_posts` can have on the performance of the blog.

I’ve recently been working on a plugin where I needed to exclude posts from The Loop based on the category. At first, I was going to use `query_posts` but I ultimately hit a few snags, so here’s an alternative way to exclude categories from the WordPress Loop.

Continue reading

« Older posts Newer posts »

© 2025 Tom McFarlin

Theme by Anders NorenUp ↑