Link Category: Tutorials
How to Customize File Upload Inputs
This code demo saved my bacon on a client project that needed a very specifically styled file upload input box.
Two ways to build Gutenberg Blocks
Our friend Jason Bahl has put together one of the most quietly exhaustive tutorials I’ve seen on what it’s like to actually make a “Gutenblock” with all the code bits and where all of them go. One of my biggest uncertainties about Gutenberg is how many WordPress developers will need to be creating Gutenberg block and how easy they will find it. All of that points to the fact that regardless of how it turns out we’ll need a lot of different good tutorials about making Gutenblocks and the subtleties of that process.
Getting Black Friday right for WordPress products
Black Friday is a great opportunity for WordPress products, but offering a straight discount isn’t necessarily the best way to go: you need to balance existing customers, price-sensitive potential customers, and deal-searchers, and a straight discount leaves at least one of those groups dissatisfied.
Finer Points of Text Domain in WordPress Internationalization
This article from Pascal Birchler about text domain in plugins got into some territory I’d not considered. I shouldn’t be surprised, Pascal is very smart, a regular contributor to WordPress itself.
How to Change WordPress User Passwords via FTP
A member from the WPShout Facebook Group blew my mind last week with this set of instructions for either resetting WordPress user passwords or adding new users using only an FTP connection. This was in response to our Quick Guide that describes how to do the same thing inside phpMyAdmin, which requires cPanel (or similar) access. For many situations, I believe this FTP route is quite a bit simpler and requires requesting less complete access from your clients.
Find the WordPress Database Options Belonging to a Plugin
Great little guide from Mike at WP Bullet about how to figure out, using WP-CLI and grep the options that are related to a specific WordPress plugin. There’s nothing here that surprised me. And I’ll not that you can do effectively the same thing using any interface to the database data, including something like phpMyAdmin.
How to Start Unit Testing WordPress Plugins
I really appreciated this article from Carl Alexander about getting better at developing WordPress plugins. When most people (myself included) first hear about unit tests, you want to go set all old code on fire. But you can’t do that, so Carl offers some practical advice about how to incorporate testing practices into places where you’ve not historically been doing it. For most of us in WordPress, that’s everywhere.
ORM Patterns: Active Record vs Data Mapper
In one of the least-relevant-to-WordPress articles I published there, I recently covered the difference between an active record ORM system vs one using the data matter pattern. ORMs are essentially systems by which PHP (or any language) objects are stored-to and retrieved-from the database.
“SEO in Content Marketing: How to Write for Search Engines Without Sounding Like a Robot”
Over the weekend, an extremely skilled and SEO-savvy content writer we’ve been working with recommended me this resource. It’s a nicely formatted PDF full of deeply sane advice on SEO-aware content creation.
Make CSS Your Drawing Tool
I really enjoyed this little talk I found while idly browsing YouTube recently. Wentin Zhang, who works at Adobe, draws something I didn’t have any idea CSS could so easily: a mustache. I know, I’ve seen the artisanly drawn CSS, like this portrait of Francine. And that’s cool. It’s also not something I feel I ever would learn from.