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
WordPress

How to check for a minimum level of PHP within a WordPress plugin

Oh my. It’s been a long time since I’ve felt such hate from users. What horrendous thing did I do? I change one of my plugins so that it now required PHP 7 to work, instead of 5.3.

You know PHP 7… which itself goes out of support in the next few months. PHP 7 also being the recommended minimum level of PHP for running WordPress.

Anyhow, I’ve written a short function which, when added to a plugin, will check for the current level and fail the activation if it doesn’t meet the requirements.

Categories
WordPress

My WordPress plugins and PHP support

I recently updated my Plugins List plugin and the minimum PHP level requirement moved from 5.6 to 7. 

Let me explain my reasoning and what my plans are for PHP support.

Categories
WordPress

New WordPress plugin – Tidy My Menus

Don’t you just hate it when WordPress plugins are just a rule to themselves when it comes to adding new menus to your installation? Those slick, and well thought out, menu positions are now, seemingly, randomly dotted with plugin menus jostling for attention.

Well, hate no more. Tidy My Menus is an automated solution to all this. Install, activate and watch your menus tidy themselves up.