Check whether a Gravatar exists for a specific e-mail

Published January 29, 2021
Check whether a Gravatar exists for a specific e-mail

Gravatar is a great tool for getting avatars and profile images associated with a specific e-mailaddress. By default, if somebody has specified an image for their e-mail, that image can easily be retrieved. If the user doesn’t have an e-mail, Gravatar will return a standard image.

But what if you don’t want that default image? Gravatar has no easy option to check whether an image exists. WordPress has a function for this, called has_avatar(),

Automatically add anchor links to Gutenberg headings

Published January 26, 2021; last updated on January 28, 2021
Automatically add anchor links to Gutenberg headings

When you have a blog, you sometimes just want to link to the start of a specific paragraph. Especially with longer articles, I like to break it up in larger chunks. Unfortunately, the Gutenberg editor doesn’t automatically add an id to every heading it generates. You’d have to do this manually. As this is a very laborious task, especially when you publish regularly, I’m happy that there is an automated way of adding this.

Below a small table of contents for this article,

Create a custom cursor with CSS effects in iPadOS style

Published January 15, 2021; last updated on January 28, 2021
Create a custom cursor with CSS effects in iPadOS style

Custom cursors and hover effects have been advancing steadily on the web for the last two years. It makes a website more sophisticated and gives a certain elegance to it. I’ve been playing with custom animated cursors and hover effects and it turns out that it’s really easy to create a custom animated cursor – without much impact on page load and without huge JS libraries.

In this tutorial, I’ll show you how to create a custom animated cursor and implement that on your website.