Tom McFarlin
Tom is a self-employed developer who loves writing, building, and sharing WordPress-based projects. He runs Pressware where he provides WordPress goods and services. You can follow him on Twitter.
Latest Posts
  • Code
    WordPress
    How To Display Post Meta Data on a WordPress PostSingle post meta data thumb
    In my last series of articles, we looked at the concepts of object-oriented programming from the perspective of the beginner. The goal of the series was to take those who were not familiar with object-oriented programming in PHP, and explore the foundational aspects of the paradigm within the context of WordPress. In this article, we're going to take a look at extending the plugin such that we can display the data on a single post page. We're going to talk about how to do this given our existing code, how to do this, and we're also going to talk about why this may not be a good idea.Read More…
  • Code
    WordPress
    Beginner Tips For Getting Started with WordPress DevelopmentGetting started with wp
    One of the advantages that's often claimed is an advantage for building for WordPress is its low barrier to entry, and although this isn't altogether false, it also makes it intimidating for anyone who is looking to truly get started in WordPress and struggled with knowing how - or where - to get started. I thought it would be worth drafting up a few points worth sharing the next time that this question comes up.Read More…
  • Code
    WordPress
    Object-Oriented Programming in WordPress - A SummaryWordpress oop
    At this point, it's time to draw this beginner's series to a close but prior to doing so, I'd like to provide a summary of each of the articles so that we not only have a refresher of the everything that we've done, but so that we also have a single summary page to bookmark for reference.Read More…
  • Code
    eCommerce
    Envato's Most Wanted: eCommerce PluginsEmw thumb
    Earlier this month, we ran our first post promoting Envato's Most Wanted. Recall that these are opportunities for which users, developers, and designers are offered significant rewards for delivering high-quality work assuming that it meets the criteria for the contest. Today, we're offering up the same thing, except rather working with Directing & Listing Themes, we're looking specifically at eCommerce Plugins.Read More…
  • Code
    WordPress
    Object-Oriented Programming in WordPress - Inheritance IIWordpress oop
    In the previous article, we introduced the concept of object-oriented inheritance, attempted to place it laymen's terms, and then also took a high-level look at the conceptual model of how it works within the context of programming. Yes - we've covered a lot, but in order to lay the foundation for a beginner to have a strong place from which to start writing object-oriented PHP, there's a lot to examine. With that said, inheritance is where we begin getting into the intermediate topics of the paradigm, so this will be the final article that provides a look at the beginner concepts.Read More…
  • Code
    Theme Development
    Envato's Most Wanted: Directory & Listing ThemesEmw thumb
    Periodically, our the Envato Marketplaces offer up opportunities which are known as Envato's Most Wanted. These contests usually offer up significant rewards for users, developers, designers, and more who are able to deliver the highest quality work possible that also meets the criteria for the contest. For example, right now, the Directory & Listing Themes is offering a bounty of up to $10,000!Read More…
  • Code
    WordPress
    Object-Oriented Programming in WordPress - Inheritance IWordpress oop
    One of the hardest parts of writing a series for beginners on object-oriented programming is knowing where to stop. There are so many topics to cover that we can slowly begin moving into the direction of advanced programming techniques ultimately forgoing exactly what our intended mission was: to arm beginners with a set of tools, strategies, and understanding of beginning concepts.Read More…
  • Code
    WordPress
    Object-Oriented Programming in WordPress - Document The Plugin IIWordpress oop
    At this point in the series, we're ready to move forward with rounding out our plugin by documenting our files, classes, functions, variables, and more. Though this is the last step that we actually have to completing the plugin, it's not the last post in the series as we'll continue to look at a few advanced topics in object-oriented programming. But before we do that, let's bring our plugin up to version 1.0 by putting into practice everything we learned in the previous article.Read More…
  • Code
    WordPress
    Object-Oriented Programming in WordPress: Document the Plugin IWordpress oop
    At this point in the series, we've covered a lot of material - not only have we covered the basics of object-oriented programming, but we've also begun to build a fully functional plugin. But the challenge that comes with the work that we've done this far is that it doesn't include any documentation about how the plugin actually works. If you recall from the previous article, we made a conscious development decision to post-pone this feature. Starting in this article, we're going to be taking a two-part look at how to document WordPress plugins, and how we can do so given our current plugin.Read More…
  • Code
    WordPress
    Object-Oriented Programming in WordPress: Building the Plugin IIWordpress oop
    In the previous article in this series, we finally began preparing the foundation for the plugin that we're going to be writing. Specifically, we took a look at the file organization, the components, and the actual details of what the plugin is going to do. We also stubbed out the code that we'll be filling out in this tutorial.Read More…
  • Code
    PHP
    Object-Oriented Programming in WordPress: Building the Plugin IWordpress oop
    At this point in the series, we're finally able to begin building our first plugin using the object-oriented techniques that we've learned thus far in the series. If you're just now joining us, I highly recommend catching up on the series thus far; otherwise, you may risk missing out on some of the key points that we're going to be demonstrating as we begin to build out the plugin over the next few articles.Read More…
  • Code
    PHP
    Object-Oriented Programming in WordPress: ScopeWordpress oop
    In continuing our discussion of object-oriented programming in WordPress, we need to begin talking about the idea of scope. In short, this refers to the idea as to how classes can control how their attributes and functions are accessed (or whether or not they can even be accessed). This is yet another core idea of object-oriented programming after which we should be in good shape to begin working on an actual WordPress plugin.Read More…