About Zack Tollman

I am a Senior Web Engineer at 10up LLC. While I am well versed in general web development, WordPress is my bread and butter. I enjoy working on WordPress projects, writing plugins, and helping other learn about appreciate how incredible the WordPress software is. After about 8 years doing web development, I have finally launched my own website. I’d like to think it’s because I finally feel that I have something to say, but really, it’s actually because I was finally able to design a theme that I did not loathe.

Here are my most recent posts

Posted on by in WordPress Tutorials

A client recently asked me to change the order of a list of categories displayed in a sidebar. I opened the proper file, located the call to get_terms that collected the terms, and finally visited the Codex to find the proper argument to alter. To my astonishment, there was no way to order the category terms in a user specified manner. The terms could only be ordered by name or ID. It then dawned on me that, of course there is no argument that would sort the terms by a user specified order; there is nothing in the category admin […]

Posted on by in WordPress Tutorials

A frequently overlooked enhancement that shipped with WordPress 3.1 has made querying posts by postmeta values significantly simpler. The WordPress core team made this improvement by adding the “meta_query” parameter to the WP_Query class. Previously, you could query and filter posts using a combination of the “meta_key”, “meta_value”, and “meta_compare” parameters; however, this came with a major limitation–you could only filter by a single postmeta field. With WordPress 3.1 and the addition of the “meta_query” parameter, you can query for posts based on numerous postmeta values. To illustrate the power of this enhancement, imagine that you have a custom post […]

Posted on by in WordPress Tutorials

One feature that makes WordPress a highly flexible and powerful content management system is its implementation of taxonomies. By default, WordPress ships with the “category” and “post_tag” taxonomies. WordPress allows you to set the following metadata for each term in a taxonomy by default: name slug parent description With the implementation of the add_metadata function in WordPress 2.9, a developer can add any metadata that s/he may desire. This tutorial will teach you how to add metadata for terms by walking you through an example of adding an image url as metadata for “category” terms. The Foundation WordPress 2.9 added […]

Posted on by in Blog

Working with WordPress’ media library and images can be at once and pleasure and a pain. I tend to like the manner in which images are managed in the admin; however, I have been left wanting when it comes to using images in the frontend of site. In particular, I have experienced difficulties displaying images at a specific size in posts or pages. While one can use CSS or the img tag attributes height and width to display the precise image size, it is far more efficient to create an image of the exact size to display. Austin Matzko’s excellent […]

Posted on by in Blog

Recently, I was working on a plugin that uses a custom post type to create Markers for Google Maps. Since interaction with Google Maps requires use of javascript, I needed to find a way to send post data and postmeta for the posts to be used in javascript to create Google Map Markers. When each post of custom type ‘mkm-gmap-cpt’ is saved to the database, the address custom field is geocoded and values for ‘latitude’ and ‘longitude’ are saved as postmeta for the post. To create Google Maps Marker for these posts, I needed to be able to send the […]



View More Posts