Tom McFarlin

Software Engineering in Web Development, Backend Services, and More

Page 300 of 433

How To Add a Class to a Single Post in WordPress

As I’ve continued to work on the theme that I’m planning to use after Standard (and that I’ hoping to begin dogfooding within the next month or so), there have been a couple of features that I’ve wanted to implement for the sake of styling.

For example, there are times where I want to be able to style a single post, and though there are a number of ways one can go about doing this, I like to try to be consistent in how I approach the solutions I implement.

To that end, I’ve wanted to add a custom class name to a single post but only only the single post page.

Continue reading

The CSS Single Responsibility Principle

In software development, there’s this set of principles called the SOLID principles. As with most things in computer science, it’s yet another acronym in which each letter stands for the following:

  • Single-Responsibility
  • Open/Closed
  • Liskov Substitution
  • Interface Segregation
  • Dependency Inversion

Though these ideas are geared towards software engineering and object-oriented design, there’s one principle that I think is relevant to front-end web development (well, actually a few but I digress for now).

Specifically, I think the idea of the single-responsibility principle is applicable to CSS – namely, within the popular LESS and Sass preprocessors.

Continue reading

On Open Source Entitlements: Users

This post is part two of two on a series of open source entitlement.

In the previous post, I mentioned that working in the world of open source has the potential for others to feel a sense of entitlement. The thing is, I don’t believe that this isn’t limited just to contributors.

Granted, I don’t think those who end up using free and open source software aim to present themselves as being entitled – I mean, they are taking advantage of the software that contributors have made available, right?

But the flip side of this is that users who find themselves working with open source software set expectations that may far exceed the amount for which they paid for the software.

Continue reading

On Open Source Entitlements: Contributors

This post is part one of two on a series of open source entitlement.

One of the challenges that comes with working with and using open source is the danger for it breed a sense of entitlement.

For the most part, I don’t think those get who involved in open source software aim to become entitled – after all, building open source projects is a labor of love, right?

We spend our time that could be spent doing other things volunteering to work on something that we’re passionate about, and that we believe will help to make the world (or at least a few people’s lives) a bit better.

But the underbelly of this is that people who find themselves involved in open source either as contributors or as users end up acting entitled from time-to-time.

Continue reading

Should There Be Consistency in Product Landing Page Design?

I’d venture to say that most anyone you ask will say that a product’s landing page design plays one of the most important roles in generating conversions. After all, why else would we have tools and products dedicated solely to studying visitor analytics, data tracking, a/b testing, and so on?

Common sense, right?

Granted, there are certain things that are known to work when building landing pages. That is to say that there are principles that are tried, true, and proven as it relates to creating landing pages for working to sell products to users.

The thing is, all of these principles can be dressed up differently depending on the color scheme, company branding, culture, verbiage, and so on.

With that said – and I’m sure there’s an answer for those of you who are designers, marketers, and/or usability experts who are reading along – how much, if at all, does the consistency of landing page design matter for products that belong to a single brand?

Continue reading

« Older posts Newer posts »

© 2026 Tom McFarlin

Theme by Anders NorenUp ↑