Skip to content

Welcome, Very Peri

Therefore. Pantone has designated the color for 2022, and describes it as a new Pantone color whose courageous presence encourages personal inventiveness and creativity.

I find it splendid, very much in my heart, and so I decided to redo the colors of this blog based on Very Peri.

Enjoy.

Source: https://youtube.com/watch?v=DpOjWPKT0QM

The corporate Christmas middle school party

I am writing it here as a mental note to remind me before the next party.
I have never liked company parties; I have always found them somewhat hypocritical.
In recent years in the UK, I have tried to participate in any case, more than more to get to know my colleagues outside of work.
I still remember the first Christmas party with terror,...

Love in the time of COVID-19

The last two years have been difficult for everyone, and I’m not the only one who thought it would probably be a good idea to legally define the relationship with their partner (marriage and the like).
Better safe than sorry, they say.

So, since friends and relatives live in Italy, we thought it would be easier to have a civil partnership here in London,...

Update post count for taxonomies in WordPress

This is a trick that has been useful to me many times, especially when I have had to import data from some other source. In this example the function retrieves all the taxonomies that are not those integrated into WordPress, but only the customized ones. By changing the _builtin parameter of get_taxonomies from false to true,...

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',

No title.

  • Whenever there is a meeting, it takes an average of 20/30 minutes to regain proper attention to the code to be developed. It would be very nice if this were taken into consideration.
  • If in the 15 minutes of morning stand-up with the customer, the question is always: this thing you are working on, how is it going?
  • ...

Remove the jQuery Migrate notice

Let’s say, for compatibility reasons, you can’t completely remove the jQuery Migrate script from your beautiful WordPress theme, and so far, everything is fine.

But seeing the warning in the console info all the time, that’s it, thank you, but no, thanks.
Four lines of code, and yoùll never see it again, regardless....

/** * Remove the very annoying jQuery Migrate notice.

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....