Categories
Opinion WordPress

How not to do menus

Whilst new rules are sorting out many aspects of WordPress development that causes headaches for users (e.g. standardised admin messaging), how plugins (and, in some cases, themes) allocate menus in WP Admin are not currently covered.

As a result, some developers (and it’s note-worthy that most of those that fall into this category are making a living from their plugin work) are happy to push the level of acceptability.

So, in this article I’m going to demonstrate some of the things that developers will do with their menus and compare that to the standard approach taken by the core version of WordPress.

Categories
WordPress

Death of an icon

My WordPress plugins have been in desperate need of a lick-of-paint when it comes to the images used on them for a while – and by “images”, I mean those used in the WordPress repository.

There are actually 2 you can provide – an avatar and a banner image. I’ll come to the banner in a bit, but I decided that I needed a single source for the avatars, so they all had a matching design.

Categories
Hacks WordPress

This site’s footprint

I ran the above using a carbon footprint calculator available at websitecarbon.com. Bearing in mind I’ve done nothing to keep the footprint low, I’m quite happy with the result of this.

Categories
WordPress

WP-CLI: Best practices for your scripts

WP-CLI is a rather splendid command-line method of interacting with your WordPress site. You can use it to automate installs, update plugins and all sorts. At WordPress VIP, clients use it, in particular, to power batch updates – maybe some image compression that they’ve not done in the past, re-categorising articles, all sorts.

If you’re using WordPress and don’t use WP-CLI, I would highly recommend checking it out (especially so if you’re looking for a job in the VIP team 😉). However, this post isn’t about using it but to give recommendations on how to best write your scripts.

Categories
Automattic Opinion WordPress

WordCamp talks: How to use slides

An existing WordCamp speaker and with 30 years of general IT support experience, I’ve spent more times than I wish to remember standing in front of people giving presentations. I’ve also been professionally trained on giving them and, in my spare, time perform on stage, often in front of 200+ people a night.

Even so, speaking at WordCamps can be a daunting, even terrifying, experience, no matter how many you’ve already done. So, in a series of posts, I want to share my knowledge, along with what I’ve learnt from some of my fellow speakers.

And, today, I want to talk about the use of slides.