A Code Snippet to Fix WooCommerce 3.0 Lightboxes
I truly love WooCommerce, but there’s one thing I don’t love about it: breaking changes. Working mostly in WordPress, breaking changes generally feel like something scary and challenging that I expect people in other environments to have to deal with—a bit like, say, cobras. The exception is WooCommerce, which brings the cobras right into my house.
Mastering the WordPress Options API
Note: We’ve revised and expanded this article on the WordPress Options API as part of Up and Running, our multimedia guide to the principles of WordPress development.
Get a WordPress Image’s Attachment ID from its URL with a PHP Function from Pippin Williamson
You know who’s really great? Pippin Williamson.
WordPress Custom Taxonomies: How and Why to Create Them
Organizing your content is one of the core features of WordPress content-management system like WordPress. As such, WordPress creates what are called “taxonomies” to help you keep your content easy to find for both your and your visitors. Today we’re focused on why and how to make a WordPress custom taxonomy.
Preventing Form Resubmission Warnings in WordPress with the Post/Redirect/Get Pattern
Today’s article is on an advanced topic in WordPress development, and is by a distinguished guest and a truly outstanding WordPress developer and educator: Carl Alexander.
What WordPress Teaches Us About Software Ecosystems
WordPress is, without a doubt, one of the most successful pieces of software of all time. Sure, Microsoft’s Office and Windows are both more influential. Apple’s iOS is huge, as is Google’s Android. Linux is no chump either. But WordPress is relevant to all those platforms and more. And it has about the same name recognition to boot. If people can name a single piece of web infrastructure technology today, there’s a good chance of WordPress being the one they know. (Not counting Facebook as infrastructure.)
Adding and Using WordPress Custom Image Sizes: A Guide to the Best Thing Ever
I really love being able to set custom image sizes in WordPress. The power and flexibility this system opens up for building beautiful, easy-to-administer, performant websites is hard to overstate.
Making Your First WordPress Widget
Sidebars were one of the oldest features of WordPress as a publishing platform, and widgets have been in WordPress for years. This little quick guide walks through the process of making your own widget. Why would you want to?
Understanding Copies & References in PHP
The inner workings of PHP aren’t something most WordPress developers need to worry about too much. Especially if you focus on the front end and are a master of flex-box (I’m neither) you probably can safely never understand the subtleties of copies and passing-by-reference in PHP (or any other programming language). But as you make more complex plugins, this stuff starts to get kind of important. Important enough that you should read this great article by our friend Josh Pollock and get at least a little familiar with it.
New Theme Features in the Works for WordPress 4.7
I’m a bit behind the eight-ball on this. But I’m pretty excited by some of the new theme features that are in the works for WordPress 4.7. The most interesting to me is the new get_theme_file_uri() function, which will be a child-theme aware method of easily linking to your theme resources. Got that? It’s cool because: