Using Classes as Code Wrappers for WordPress Plugins
Once you understand how to use classes you’ll find no reason to use global functions for filter and action hooks ever again
Once you understand how to use classes you’ll find no reason to use global functions for filter and action hooks ever again
Drew Jaynes hast started a new website called Filters of the Day with the goal of documenting 3 filters a day for the next 365 days. I’m sure this will be a great opportunity for us to learn more about the various filters available to us in WordPress.
Eric Mann describes why you shouldn’t dequeue WordPress’ version of jQuery. Unless you have a really, really good reason to use a CDN for jQuery (you probably don’t), then stick with what WordPress ships with. You’ll likely save yourself many headaches. Eric does a nice job explaining why in detail.
Ryan McCue has written an insightful post about caching data in WordPress with the Transients API. Most interesting to me is how he describes expiration in transients as a “maximum age” versus a “guaranteed expiration”. He also makes a worthwhile point about how even when you store transients, it doesn’t mean they won’t be expired…
A great post from Zack Tollman at The Theme Foundry on why defaulting to what most consider best practices can sometimes be detrimental to performance. Using a CDN (content delivery network) for the new site was a forgone conclusion, as we assumed it would help us speed things up. But, after testing with a few…
The wc_price
function solves your WooCommerce price formatting problems. Using it means you can ignore the WooCommerce price settings.
Tom J Nowell published a great post today on theme composition vs frameworks. He points out a problem with theme frameworks: what you need or want to do doesn’t always fit the way the framework is laid out. The problem here is that what you want to build doesnβt always fit the foundations provided. You…