Posts Categorised: Wordpress

0Wordpress LogoShow enlarged image on hover in wordpress

As part of the recent improve­ments I’ve been mak­ing to vari­ous web­sites I wanted to make images in gal­ler­ies show enlarged ver­sions when hovered over. Doing this with basic CSS is fairly trivi­al, but I did­n’t just want to expand the ori­gin­al image, I wanted the browser to grab a new (lar­ger) image too…
... Lees het volledige artikel

0Wordpress LogoAutomatically generate and serve avif images with wordpress

I have spent quite a lot of time optim­ising the per­form­ance of this site, and as part of ongo­ing work I mon­it­or new tech­no­lo­gies that could help improve the speed for vis­it­ors. I’ve been track­ing the adop­tion of next-gen­er­a­tion image formats for a while and with sup­port by web browsers now fairly wide­spread it was time to fig­ure out how to make use of these new formats in wordpress.
... Lees het volledige artikel

0Wordpress LogoWordPress updates progress

I’ve had an issue for a while now where installing word­press updates does­n’t show any mes­sages or pro­gress. The updates gen­er­ally do install but it is tricky to know when the updates have fin­ished. There are a few threads online with pos­sible solu­tions but most of them haven’t been help­ful in my case.
... Lees het volledige artikel

0Wordpress LogoWebsite testing tools

I am con­stantly work­ing on both my web­sites and my web serv­er stack with the aim of it being fast, reli­able and secure. New tech­no­lo­gies and new vul­ner­ab­il­it­ies mean a con­stanyl mov­ing tar­get and some­times things that have been pre­vi­ously fixed can recur. As well as main­tain­ing art­icles about many fixes, and a site updates log, I use a range of web­site test­ing tools. As this list has grown it has reached a point where I felt the need to doc­u­ment the ser­vices I use
... Lees het volledige artikel

0Wordpress LogoWordPress visual editor not working

I’ve had an issue for a little while where the word­press visu­al edit­or but­ton stopped work­ing. The code edit­or was fine, and the but­ton for the visu­al edit­or is present but click­ing on it has no effect. After much fid­dling around I finally dis­covered it was being broken by my Con­tent Secur­ity Policy!
... Lees het volledige artikel

0Wordpress LogoFixing wordpress visual editor

I’ve had an issue recently where the word­press visu­al edit­or stopped work­ing. The code edit­or worked fine, but the visu­al but­ton just did­n’t do any­thing at all. I knew it was­n’t a serv­er set­ting because it impacted 2 of 5 word­press sites on the serv­er, but the oth­ers worked fine. I tried delet­ing and copy­ing fresh cop­ies of “wp-includes” and “wp-admin” in case some­thing had got cor­rup­ted but this did­n’t resolve the prob­lem either.

... Lees het volledige artikel

0WordPress Local Gravatar cache

I like to have avatars shown for people who com­ment on my blog. Word­Press sup­ports the gravatar ser­vice nat­ively so enabling this is very easy. How­ever it comes with a cost — access­ing extern­al files from anoth­er domain adds lots of extra load time in the form of new DNS look­ups, new SSL con­nec­tions to make, etc. Would­n’t it be nice to have gravatars stored loc­ally and served from your own serv­er. Well that’s what I’ve been doing for some time now, if you’d like to know how, read on…
... Lees het volledige artikel

0Localisation of Amazon Affiliates links

I occa­sion­ally ref­er­ence products on my vari­ous web­sites, and usu­ally link them to Amazon for any­one inter­ested in buy­ing them. A long time ago I used to link with an amazon affil­i­ates link but nev­er earned any­thing from it as my typ­ic­al read­er­ship is well dis­trib­uted around the world. Unfor­tu­nately Amazon don’t provide a way to redir­ect vis­it­ors to their loc­al amazon site whilst retain­ing to affil­i­ates pay­ments. There are vari­ous solu­tions out there but all the ones I found had issues with them, so I developed my own.… Lees het volledige artikel

2Wordpress LogoFixing Rich Snippets Testing Tool for Microdata

Over 2 years ago I pub­lished an art­icle on how to fix prob­lems with Word­Press themes which did­n’t pass the Google Rich Snip­pets Test­ing Tool. Since then lots has changed — Word­Press and most themes have bet­ter sup­port, HTML5 and CSS3 have arrived, and Google, Yahoo and Bing got togeth­er and decided to focus on Microdata, via schema.org. At the time micro­formats seemed the easi­est way to mark up pages, and the test­ing tool had the most com­pre­hens­ive sup­port for these. The move to Microdata and the changes to Word­Press required a new art­icle: this is it!

... Lees het volledige artikel