How to switch off the “Try Gutenberg” callout

When WordPress 4.9.8 hits, it will include a callout to try Gutenberg. It’s a great way to bring it to the attention of those who may not already be aware of it. However, for those who already are, it may be unwelcome.

It can be dismissed easily but if you’re managing a number of sites you may not want it to appear in the first place, save getting a lot of questions from users.

There is a plugin available to ensure it doesn’t appear but, tbh, it’s a lot simpler than even that.

Read More

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.

Read More

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.

Read More

Embedding code in your WordPress posts

When adding code to a WordPress post, you may find that it gets modified (particularly when using the visual editor). For some years now, a popular plugin of mine, Code Embed, has allowed you a way to achieve this without any such modification. However, the plugin has had many features to it, making it a lot larger from what it first was. And that first release did it just a few lines of code.

So, dusting those lines down, bringing them up to VIP coding standards, here they are for anybody to easily add to their site, for example, via their functions.php theme file…

Read More

Advertising Gutenberg use on your website

The brand-new, all-singing, all-dancing, editor for WordPress is due imminently and I've been using the beta version for some time for creating posts on this site. Recently you may have noticed a little advertisement of this fact has appeared at the top of (some of) my posts – I've added this to help promote Gutenberg.

Let me share the code I've used to do this…

Read More

Adding AdSense Auto ads to your WordPress site

Google has announced, today, a new style of AdSense ad – the "Auto ad". Using machine learning, the code will insert adverts into your site where it things they will be most relevant.

Auto ads balance revenue and user experience by delivering the right ad at the right time to your visitors.

They can even be added side-by-side with your existing, fixed, AdSense advert. And it's really easy to add these to your WordPress site.

Read More

So long, farewell… my New Year plugin resolution for 2018

I have had a lot of plugins. 19 as of yesterday. And managing to keep them maintained, let alone adding new features, can be difficult. With Gutenberg around the corner and the changes that will be needed as part of that, it's a burden that's now impossible. 

Many have been around for many, many years and there are far better alternatives now available. Many have few users (less than 10 in some cases). So, with a heavy heart, I've decided to reduce that burden.

Read More
Scroll Up