Allow editors or contributors to change settings
The WordPress settings API makes it easy to add shared content to a site for administrators to edit. But it would be nice to let other roles edit some settings too.
The WordPress settings API makes it easy to add shared content to a site for administrators to edit. But it would be nice to let other roles edit some settings too.
WebP image files are typically much smaller than their JPEG and PNG originals, with virtually no loss of fidelity. But a photographic PNG with a transparency can really show how much better WebP can be.
When we load resources from other websites, we trust those sites to deliver something safe. Use subresource integrity to ensure authenticity.
Check for PHP version compatibility problems in WordPress plugins, with support for just a few files running in PHP 5.2.
I'm a big fan of the Login with Ajax plugin. It makes it really easy to add a nice popup login form to a website. Here's how to make the most of it, with a little custom code.
If you want to load a script or stylesheet on both the WordPress front end and login page, here's how to register it once and load it in the appropriate places.
Gravity Forms and its User Registration add-on make it really easy to create custom registration pages. One problem you'll hit if you combine that with WooCommerce is that WooCommerce uses standard country codes, but Gravity Forms uses country names. But that can be fixed.
Easy Digital Downloads comes with a PayPal Standard payment gateway, which lets us get our store up and selling quickly and cheaply. Let's get it to select a better landing page with PayPal Standard, and make our credit card customers happier.
The Gravity Forms Add-on Framework makes the job of creating an add-on really easy. But there's a couple of problems with letting it load our text domain for us:
Page caching is important for the performance of your WordPress website. Here's how to configure WP Super Cache to serve up your site's content from the cache, without bogging down your server.
Gravity Forms email notifications can be used to send simple payment receipts for eWAY transactions.
TIL that you need to give Gravity Forms add-ons some capabilities, otherwise they might disappear from the WordPress admin.