I have spent quite a lot of time optimising the performance of this site, and as part of ongoing work I monitor new technologies that could help improve the speed for visitors. I’ve been tracking the adoption of next-generation image formats for a while and with support by web browsers now fairly widespread it was time to figure out how to make use of these new formats in wordpress.
… Read Full Article
Berichten Getagged: php
03 ways to run WP-CRON manually
I’ve recently been looking at how best to run wp-cron manually from the system to avoid a performance hit when a visitor loads the site. I’ve so far found 3 different ways to run this. There may be others.
… Read Full Article
0WordPress updates progress
I’ve had an issue for a while now where installing wordpress updates doesn’t show any messages or progress. The updates generally do install but it is tricky to know when the updates have finished. There are a few threads online with possible solutions but most of them haven’t been helpful in my case.
… Read Full Article
0Localisation of Amazon Affiliates links
I occasionally reference products on my various websites, and usually link them to Amazon for anyone interested in buying them. A long time ago I used to link with an amazon affiliates link but never earned anything from it as my typical readership is well distributed around the world. Unfortunately Amazon don’t provide a way to redirect visitors to their local amazon site whilst retaining to affiliates payments. There are various solutions out there but all the ones I found had issues with them, so I developed my own.… Read Full Article
0Easily set the parent of a WordPress comment
As is documented in the site update log, for a while we had a problem with our theme where it wasn’t possible to reply to a comment so that the reply would appear correctly in a threaded way. We have no fixed this problem, but have been left with a significant number of comments which really need editing so it is easier to see what they are in reply to. With a standard wordpress install this requires going into the database and editing there, which is very tedious. Instead, we’ve used some simple functions to add an option to the comment-edit admin page, to set the comment parent there. Eventually this will be developed into a proper plugin to enable this functionality. For now the code is below, just add it to your theme’s functions.php
0Fixed: Deprecated PHP errors in wordpress dashboard
Earlier today I updated our test site, in preparation for rolling updates out to the main site. This involved updating several plugins and replacing the “BeforeTheDeadline” plugin with Jetpack. After completing the updates I found I was getting several error messages on the dashboard, under the “incoming links” dashboard widget, and even more errors when I tried to empty the W3 Total Cache caches.
“Hi James I realise it has been a long while, but I just checked this on windows 11 (build 23H2)…”