Software Engineering in WordPress, PHP, and Backend Development

Author: Tom (Page 367 of 427)

Get Standard – Black Friday Thru Cyber Monday Sale!

Standard Theme Discount

Standard 3.2 is just around the corner!

For those of you who don’t know, I spend half my time working with my team at 8BIT working hard on both analog and digital products for bloggers.

Though I’ve discussed it in detail before, simply put: Standard is the core passion of the team and we’re committed to making it best theme for bloggers that we possibly can.

My team and 8BIT and I are currently running a Standard Theme discount from Black Friday thru Cyber Monday and here are the details:

Continue reading

WordPress For Christmas with WP Snippets

It’s a day after Thanksgiving so all of the Black Friday and Cyber Monday deals are going on – always fun to check out some of the neat deals online.

But since the end of Thanksgiving marks the beginning of the Christmas season, there are also some neat projects that others have been working on. Sure, it’s common to see WordPress themes, plugins, and other seasonal assets be released, but here’s a neat project that the guys over at Square One have been working on specifically for WordPress for Christmas.

Continue reading

Happy Thanksgiving!

Happy Thanksgiving 2012

Happy Thanksgiving!

If you’re here in the United States, then you’re likely celebrating Thanksgiving. I’m spending time resting, eating some awesome food, visiting family, and generally enjoying the time off.

For those of you who aren’t in the US, hopefully you’re having a stellar day, as well. Continue reading

A Two-Phase Production Deployment Plan

For anyone that’s been doing software development for any reasonable length of time – especially for web applications – then you’re likely familiar with Local (or Development), Staging (or Test), and the Production environments.

If not:

  • Local or Development refers to the machine on which you’re actually building the product.
  • Staging or Test refers to the server designed to represent Production, though is only accessible by developers, testers, clients, and perhaps some of the end users to evaluate features prior to the official rollout.
  • Production is the live version of the site. No development occurs on this server.

Most developers who are in the business or closely working with their client follow this particular setup.

In the past couple of months, there have been a few times when a single production rollout has fallen short and ended up either revealing bugs that were not caught in Staging or that did not hold up under Production-level loads.

As frustrating as that can be, I’ve ended up using a sort of two-phase Production deployment plan to help mitigate this.

Continue reading

How To Get Post Content By Title

I've updated some of the content in this post for more clarity thanks to Stephen's comment

When it comes to retrieving content outside of The Loop or retrieving content based on certain criteria, it’s usually a matter of setting up a custom query using WP_Query.

But sometimes, setting up a full custom query, executing the loop, then resetting the post data isn’t required.

Case in point: I was recently working on a project in which the client wanted a modal dialog to appear with the title and the text from a specific page. Easy enough: use get_page_by_title.

But there’s one minor gotcha that I’ve seen more than a few times when using this method. Here’s how to get post content by title and avoid the pitfalls of doing so.

Continue reading

« Older posts Newer posts »

© 2025 Tom McFarlin

Theme by Anders NorenUp ↑