Caleb Stauffer Style

Collection

Collection

Source: https://github.com/crstauf/collection.

A drop-in for WordPress sites and themes to make managing collections of data and entities easier. Accessing top-level collections in WordPress are easy, but subsets of those can be more difficult. Collection fixes that.

Collection is… well, pretty much anything: IDs, colors, keys, text snippets, images… anything in WordPress. I frequently needed to access a subset of posts, pages, products, events, etc., and creating a Collection keeps those subsets readily available. Think of it as a fancy array of data.

continue reading on my GitHub

Photo by Umberto Cofini on Unsplash