Skip to content

Plugin

For a change

By now, it is a well-known fact that I like to hurt myself by messing around with the code when I am not working.
Apart from everything I’ve done to this template, the other site’s template, and another one that I manage but is not mine, I got the insane urge to publish another plugin.
I sent it for review on the first of January;...

Block some plugins from updating in WordPress

In this example, the update is blocked for Akismet and Classic Editor, but it can be used with any plugin. Don’t do this unless you have no alternatives....

/** * Block some plugins from updating * * @param array $parsed_args * @param string $url * * @return array * @throws JsonException */function wporg_block_update_specific_plugins( $parsed_args, $url ) { $blocked_plugins = ( 'akismet/akismet.php',

So, about the newsletter

It’s amazing how pretty much all the plugins I’ve tried to get a newsletter on WordPress, even the one I’ve used for a while, are basically a kind of cancer: invasive in the admin interface, billions of mostly useless options, a bunch of additional tables on the database (one of them had 30. THIRTY. No, that’s not a joke), and finally totally incompatible with AMP....

There is always a first time (reprise)

For work, I often write plugins for WordPress that I have never been able to use or show publicly, for obvious reasons.
Since May 2013, I have been planning to write a plugin to distribute through the directory of WordPress.
I started writing it and created a repository on GitHub in January 2014.

Since then, for various reasons,...

New year, new numbers

Here is a little history in numbers of this blog, which will be 12 years old this year.
Last year wasn’t too bad, considering I wrote significantly less than the previous year.
The desire to write this year is less than last year, but never say never.

Year No. of articles Average characters per article Total characters per article Average comments Total comments 2015 31 1,689 52,331 2.0 62 2014 318 1,016 322,989 0.4 134 2013 83 946 78,444 0.6 49 2012 87 688 59,855 1.7 149 2011 25 801 20,017 2.2 54 2010 52 954 49,603 3.8 196 2009 96 1,207 115,813 4.7 447 2008 108 1,058 114,181 10.5 1,135 2007 71 703 49,900 7.7 550 2006 66 890 58,691 4.0 265 2005 45 874 39,297 0.8 38 2004 6 634 3,802 0.0 0

If you also want to see your numbers,

#324 - Subscribe to newsletter

I have been trying out a few plugins to generate newsletters. There are some excellent ones, but I was looking for a plugin that just sends you an email when there is a new post. Then it occurred to me that Jetpack’s module does that quite simply, so I am testing it.
I have not gone crazy: I find it very convenient to receive things I am interested in by email instead of searching for them on a social network or a feed reader....

#305 - Getting the job done

Seven months have passed, and the insane idea of developing a WordPress plugin has proved insane, mainly because the idea I had in mind ran up against the impossibility of using a database, which was the heart of the concept. Seven months passed without me putting my hand to it, leaving the code to die in the corner of my computer....

#302 - Welcome to WordPress 4.0 'Benny'

Immediately released in both English and Italian, the latest version of WordPress has just arrived. So for me, the usual round of updates to the blogs I manage directly has begun, about ten of them.
I have to say that the novelty I like best is the display of media in the grid because, for blind people like me,...