Software Engineering in Web Development, Backend Services, and More

Tag: WordPress (Page 49 of 220)

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

WordPress Templates for Beginners: How It Is

When I first started thinking about templating in WordPress, I thought about regarding two aspects:

  1. content specifically for members,
  2. content that could break down into a single post.

But the more I thought about it, the more I realized that it could (and arguably should) be explained over the course of a few posts.

So I’m going be breaking down the current state of WordPress templating and then practical ways we can take organize, say, our plugins so that we’re using standard PHP.

After that, in a future series, I’ll look at what it means to use other templating engines (both PHP and JavaScript in the work we do).

For starts, though, I want to take a look how we often see templates written within the context of both WordPress themes and plugins.

Continue reading

More on Why Custom Image Attributes Are Useful

A few posts ago, I walked through the process of adding custom image attributes to an image in WordPress. I received a good question on Twitter:

So I thought it worth to work through why this may be important or something that’s worthwhile to do (I mean, I don’t know if it’s important, but it could be depending on the project :).

Continue reading

A Few Gulp Packages for Starters

Software like Gulp and other utilities aren’t new. For those who haven’t used them before, it can be a little daunting to get started (but it really shouldn’t be).

A Few Gulp Packages for Starters

In comparison to tools like CodeKit (which I still like and recommend, depending on the project), they have a little more overhead regarding getting them set up, configured, and ready to go.

But once you’ve got it all set it up, it can be really useful with a distributed team regardless of operating system, and it can help it make your build process a bit more robust.

That’s not the purpose of the post, though. Instead, here’s a list of a few packages for starters.

Think of them this way: If you’re looking for ways to work with Sass, JavaScript, and image optimization, these are good libraries.

Continue reading

Adding WordPress Modal Dialogs (Using Static Data)

In the previous post, I walked through the process required to get WordPress modal dialogs to appear within the context of the administration area.

This uses:

  • the built-in WordPress API,
  • the provided Thickbox library,
  • and some example code for getting it to display.

In this tutorial, I’ll walk through populating the modal dialog with data. After that, I’ll share how to populate the data dynamically using Ajax.

Continue reading

« Older posts Newer posts »

© 2026 Tom McFarlin

Theme by Anders NorenUp ↑