As part of the recent improvements I’ve been making to various websites I wanted to make images in galleries show enlarged versions when hovered over. Doing this with basic CSS is fairly trivial, but I didn’t just want to expand the original image, I wanted the browser to grab a new (larger) image too… … Read Full Article
I couldn’t believe a google search didn’t already turn up the answer for this — it’s crazy that you can’t just vertically-center the images in a wordpress simple image gallery. After much faffing with CSS I found a simple answer … Read Full Article
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
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
I am constantly working on both my websites and my web server stack with the aim of it being fast, reliable and secure. New technologies and new vulnerabilities mean a constanyl moving target and sometimes things that have been previously fixed can recur. As well as maintaining articles about many fixes, and a site updates log, I use a range of website testing tools. As this list has grown it has reached a point where I felt the need to document the services I use … Read Full Article
I’ve had an issue for a little while where the wordpress visual editor button stopped working. The code editor was fine, and the button for the visual editor is present but clicking on it has no effect. After much fiddling around I finally discovered it was being broken by my Content Security Policy! … Read Full Article
I’ve had an issue recently where the wordpress visual editor stopped working. The code editor worked fine, but the visual button just didn’t do anything at all. I knew it wasn’t a server setting because it impacted 2 of 5 wordpress sites on the server, but the others worked fine. I tried deleting and copying fresh copies of “wp-includes” and “wp-admin” in case something had got corrupted but this didn’t resolve the problem either.
I like to have avatars shown for people who comment on my blog. WordPress supports the gravatar service natively so enabling this is very easy. However it comes with a cost — accessing external files from another domain adds lots of extra load time in the form of new DNS lookups, new SSL connections to make, etc. Wouldn’t it be nice to have gravatars stored locally and served from your own server. Well that’s what I’ve been doing for some time now, if you’d like to know how, read on… … Read Full Article
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
Over 2 years ago I published an article on how to fix problems with WordPress themes which didn’t pass the Google Rich Snippets Testing Tool. Since then lots has changed — WordPress and most themes have better support, HTML5 and CSS3 have arrived, and Google, Yahoo and Bing got together and decided to focus on Microdata, via schema.org. At the time microformats seemed the easiest way to mark up pages, and the testing tool had the most comprehensive support for these. The move to Microdata and the changes to WordPress required a new article: this is it!
Remove any device from home assistant(527 views)I've now been using home assistant for several years and most of the early challenges and learning-curves have been over-come. However, there has been a long-standing issue that is a constant frustration - removing old ...
The search for a 12 bay 5.25″ full tower case(403 views)I have an original CoolerMaster Stacker case (STC-T01-UW) that I use for my server. It is great because it has 12 5.25" external drive bays. Strictly speaking it has 11 useable as 1 of them ...
The search for a 12 bay 5.25″ full tower case(15.5k views)I have an original CoolerMaster Stacker case (STC-T01-UW) that I use for my server. It is great because it has 12 5.25" external drive bays. Strictly speaking it has 11 useable as 1 of them ...
Resolving Google’s Rich Snippets Testing Tool errors(64 comments)Please note! This article has now been superceded by a new article, which has been updated to use MicroData (schema.org) instead of MicroFormats. If you still wish to use MicroFormats read on, but I recommend ...