Adding Semantic Reviews / Rich Snippets to your WordPress Site

by @edent | # # # #
Screenshot of JSON code in a web page.

This is a real “scratch my own itch” post. I want to add Schema.org semantic metadata to the book reviews I write on my blog. This will enable “rich snippets” in search engines. There are loads of WordPress plugins which do this. But where’s the fun in that?! So here’s how I quickly built it…

Continue reading →

Howto: Disable image pop-ups in WordPress comments

by @edent | # # # #
An mshots popup obscuring the screen.

If you have the Akismet spam plugin for WordPress, you’ll be familiar with this problem. When your mouse pointer goes over any URL, you get a large website preview taking over parts of your screen. I asked for a way to turn this off and I’m happy to say the developers listened! Sadly, there’s no…

Continue reading →

Improving WordPress Video Accessibility

by @edent | # # # # # | 2 comments
A video with an easy to see play button.

In order to provide a video playback UI, WordPress uses the excellent MediaElement library. Recently, I discovered a slightly annoying flaw – I couldn’t see the play button! Here’s a screenshot of the video UI. In the middle of this screenshot is a white play button. I have trouble seeing it, because the video’s background…

Continue reading →

A small accessibility improvement to WordPress

by @edent | # # # # | 6 comments | Read ~141 times.
An upload screen - there's a large text box for the image description.

My mate, the accessibility specialist Léonie Watson, has this to say about how we improve the world, piece-by-piece: Accessibility doesn’t have to be perfect, it just has to be a little bit better than yesterday. Source: Twitter Damn straight! One of the best ways we can make tomorrow slightly better than today is by making…

Continue reading →

Strategies for linking to obsolete websites

by @edent | # # # | 7 comments | Read ~113 times.
Plugin offering to fix a broken link by replacing it with an archive link.

I’ve been blogging for a long time. Over the years, I’ve linked to tens of thousands of websites. Inevitably, some of those sites have gone. Even when sites still exist, webmasters seem to have forgotten that Cool URls Don’t Change. I use the WordPress Broken Link Checker plugin. It periodically monitors the links on my…

Continue reading →

HOWTO: Regenerate Gravatars in WordPress

by @edent | # # | 1 comment
The Logo for WordPress

A troublesome plugin recently corrupted some of the avatars on my blog’s comments. This is a quick HOWTO for regenerating them. Gravatars are based on the MD5 hash of a user’s email. For some reason, the plugin had overwritten the avatar field with the text http://identicon This MySQL query finds all the comment IDs which…

Continue reading →

Using the WordPress mShots Screenshot API

by @edent | # # # | 5 comments | Read ~1,608 times.
The Logo for WordPress

A few years ago, I wrote about Google’s secret screenshot API – a slightly cumbersome way to take website screenshots for free. There’s another service which you may find simpler to use – mShots from WordPress. Here’s how it works: Take any website link: https://twitter.com/JennyVass/status/1067855777040338944 URL Encode it: https%3A%2F%2Ftwitter.com%2FJennyVass%2Fstatus%2F1067855777040338944 Add it to the end of…

Continue reading →

Import Images From A Migrated WordPress

by @edent | # # # # # | 2 comments | Read ~436 times.
The Logo for WordPress

Here’s how to solve a common WordPress problem. I want to re-import all my blog’s images into the media library. I’ve moved my blog to a new host – but kept the same domain name. I started with a new WordPress install, the uploads folder still has all my images, but WordPress can’t see them.…

Continue reading →

An "on this day" plugin for WordPress

by @edent | # # # # # | Read ~166 times.

Just me scratching my own itch. I want to create an RSS feed of all the blog posts which I’d published on this day in the past. For example, if today is 21st of November 2016 then this plugin will show blog posts written on 2015-11-21 2014-11-21 2013-11-21 And so on. You can view a…

Continue reading →

Google's AMP is a gilded cage

by @edent | # # # # # | 47 comments | Read ~73,841 times.

AMP is Google’s attempt to re-fight the transcoding wars of the early 2000s. It is actively dangerous to the web ecosystem, helps disseminate propaganda, and is disliked by many users. If, like me, you made the mistake of trying out AMP on your website – you’re in a tricky position if you try to remove…

Continue reading →