Software Engineering in WordPress, PHP, and Backend Development

Tag: WordPress (Page 214 of 219)

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

Two Ways To Optimize Adding JavaScript in the WordPress Dashboard

Once you’ve been working on WordPress-based projects for a while, you quickly learn how to properly include stylesheets and JavaScript dependencies for the administrative dashboard or the public-facing aspect of a theme or plugin.

That is, you’re familiar with admin_enqueue_scripts and wp_enqueue_scripts.

And although these two hooks provide a way to segment the way in which scripts are loaded, it’s possible to further optimize how JavaScript dependencies are loaded by only loading them on the page that they are required.

Specifically, there are two ways that you can add JavaScript in WordPress in the dashboard:

Continue reading

WordPress User Interface Design

For years, I’ve been using PayPal and although I don’t hate the service as much as many (in fact, I have very few complaints), I really dig Stripe for its simplicity, design, and ease of integration.

On top of that, I’ve used it in a variety of client projects but I’ve never actually done anything with it myself.

But this past weekend, I finally had the opportunity to integrate Stripe into a page on my site, and I used the WP-Stripe plugin by Noel Tock.

This morning, I tweeted the following:

This tweet sparked an excellent conversation in WordPress user interface design.

Continue reading

Organize Your WordPress Installation For Subversion-Based Development

If you’ve done any development on themes, plugins, or the core application itself, then you know that the team uses Subversion for WordPress development. This means that when you checkout the project, you’re either pulling down at least three directories, or you’re pulling down the trunk.

The challenge is figuring out a way to organize your local development environment so that it resembles the staging and production environment rather than what the repository looks like.

But this can be tough if you’re used to working with the trunk, with copying files, or with whatever crazy ways you’ve come up with managing version controlled files.

Here’s the most effective way that I’ve found to organize my installation when using Subversion for WordPress development:

Continue reading

Plugins For WordPress Developers

There are a number of plugins for WordPress Developers that I consider to be must-have for any local development environment. These include:

Each of these serves a unique purpose when working on themes and plugins especially if you care about localization and using the latest version of the WordPress API.

The downside is that it can be somewhat of a pain to install these each time you setup a new development environment (depending on how you actually setup your local machine).

But thanks to the guys over at WordPress VIP, this process for getting up and running with the necessary suite of plugins for WordPress developers is much easier.

Continue reading

« Older posts Newer posts »

© 2025 Tom McFarlin

Theme by Anders NorenUp ↑