Customising the AJAX output of WordPress plugins can often be a breeze, when the authors oblige other developers by peppering their code with action and filter hooks. But if they don’t, you can always fall back on hacking the plugin’s AJAX action. Continue reading Hack a WordPress plugin AJAX action
WordPress 4.1 brings with it the twentyfifteen theme, which I find to be a rather nice blog theme. Unfortunately, it adds a new wrinkle to any tables on your website — often breaking them! Here’s the simple fix. Continue reading Fix broken tables in twentyfifteen WordPress theme
When shoppers search a WordPress website, you want them to find products first before listing any articles and pages. And it’s surprisingly easy to achieve, with a simple filter hook. Continue reading Sort WooCommerce products first in search results
I indent with tabs. There, I said it. Viewing my code (and that of other tab indenters) on GitHub, Gist, or Bitbucket can be annoying because the default tab size in the browser is equivalent to 8 spaces. Modern browsers let you change that through CSS, and here’s some bookmarklets that do just that. Continue reading Set the tab size on GitHub, Gist, and Bitbucket
So I finally got a Twitter account. I figure everyone else is doing it so it must be nearly over, time to join. I’ll be twotting any new plugins and plugin updates there, so if you need notifications for those, please follow @webawareross. Just don’t expect to hear about which legumes I curried for breakfast (was borlotti beans today, will be split green peas tomorrow), what I’m listening to (Katalyst), or RT of k.rudd selfies.
Gravity Forms has some nice compound fields to make it easy to accept things like names, addresses, and credit card details. One annoying thing it does, though, is put the labels for the input fields below them instead of above them. Here’s how to move Gravity Forms field labels above input fields where most people would expect them to be. Continue reading Move Gravity Forms field labels above input fields
For a while now, I’ve been using the amazing Trello to help me keep track of various tasks. Sure, I use various bug trackers like Mantis and GitHub Issues too, but for some of the more high-level tasks it’s just easier with Trello. One job it’s particularly good at is helping me keep track of plugin compatibility testing. Continue reading Tracking WordPress plugin compatibility with Trello