Software Engineering in WordPress, PHP, and Backend Development

Author: Tom (Page 294 of 429)

The Dangers of Blogging (Or “Get a Thicker Skin”)

Arguably, one of the most intimidating things about blogging is knowing that you’re constantly opening yourself up to critique.

For the most part, this isn’t something that’s really all that bad especially when you consider that that you’re offering information up to help others, or to ask others for help in a given situation.

More often than not, I’ve found that people are happy to oblige one way or the other through comments, emails, tweets, and so on.

Unfortunately, you can’t have one without the other.

By that, I mean that every positive comment, every reaffirmation, or every bit of advice offering ways to improve what you’re on saying, you’re likely going to be generating negative feedback and/or criticism from someone.

The thing is, positive feedback usually comes in the form of retweets, shares, and so on.

Negative feedback may be harder to detect unless it’s posted directly in a comment because – for whatever reason – others don’t always mention your handle in tweets, pingbacks, and so on.

On one hand, perhaps ignorance is bliss, but I’m of a different mindset: If you have something negative to say about a person or an idea that they’ve shared (after all, it’s not always personal), then why not bring it to their attention?

Continue reading

An Easy Way To Check if a Post is Paginated

Out of the box, WordPress supports the ability to paginate individual posts.

For those who aren’t familiar, it means that you’re able to literally paginate your posts such that a post may consist of multiple pages (kind of a weird concept, huh?).

Paginated Posts

Some people may use this feature, some people may not; however, if you’re working on a theme, then you need to be prepared for this case and provide appropriate styling.

But the way if which you determine if a post is paginated or not can lead to a bit of cluttered code, so in order to keep the code as readable as possible (and to keep the logic separated from the template), here’s one way that you can check is a post is paginated.

Continue reading

On Using Helper Files in WordPress

One of the things that I appreciate about certain application development frameworks is their approach to convention over configuration.

By that, I mean that they tend to take the approach of “a place for everything, and everything in its place” rather than setting a ton of variables in a set of different files to tell the core system where everything is located.

In my opinion, WordPress is a little bit of hybrid of this kind of stuff, but I tend to look at it in the direction of modifying configuration files.

After all, we have both `wp-config.php` and we have `functions.php`. Both of these serve their purpose, but `functions.php` can get specifically cluttered as a theme or an application grows.

Continue reading

A Few Words About My Upcoming WordPress Theme

Several weeks ago, I wrote an article about a theme that I’ve been working on that I’ll be using in place of Standard once development has actually been completed.

When it comes to working on project, I think it’s fair to say that sometimes we start off talking about certain things that we’re working on, get sidetracked on something new, and never end up coming back to it.

So in an effort to not only keep myself accountable, but also to continue to give a bit more information on the theme, I thought I’d provide additional updates as to its status, potential release date, how I’ll be rolling it out, and all that fun stuff.

Continue reading

Contributing To WordPress 3.8 (And Future Releases)

The first time that I talked about contributing to the WordPress codebase was just over a year ago today.

Time flies.

Granted, I’ve made other contributions that have been made to the WordPress project since then – updating Codex articles, working on the JavaScript standards, and so on – but I’ve not actually had a chance to commit code to the project until this release.

And like many of the people who are using WordPress 3.8 for the first time today, I’m more excited about this release than I have been for a long time.

Continue reading

« Older posts Newer posts »

© 2026 Tom McFarlin

Theme by Anders NorenUp ↑