I was contacted a few days ago by a fellow WordPress warrior (hello Dan) asking if it’s possible to remove the date published (datePublished) and date modified (dateModified) schema from the Article schema (posts) and WebPage schema (posts and pages) in the Yoast SEO plugin for WordPress. The answer is yes, you can do this […]
Today I’m going to talk you about how you can remove the person schema and the author section of the article schema in the Yoast SEO plugin for WordPress. I think this is going to be a problem for a lot of people using version 11+ of the Yoast SEO plugin for WordPress. In versions […]
It’s very common to put email addresses onto the front end of websites, and why not, it’s a useful piece of information and pretty much essential on loads of websites for loads of reasons. The trouble is those pesky spammers send their bots to crawl the internet looking for email addresses on websites. They then […]
Displaying your Facebook page events on your website is actually quite simple once you realise you need to use the Facebook Page Plugin/Widget, but with the data-tabs setting configured to just show your Facebook events. I had to do this for a friend of mine, but I kept going round in circles until I just RTFM […]
On a clean install of the excellent http://crunchbangplusplus.org/ linux distro (Debian 9 stretch AMD64) my Asus laptop’s volume control fn shortcut keys were not working for volume up, down and toggling the mute. In this distro it’s using pulseaudio and pavucontrol to control the audio and volume. The little applet which sits in the tint2 […]
This method of creating a Debian Linux bootable installation USB drive uses the command dd to copy the ISO image to an empty USB stick. Make sure the USB stick is empty and is big enough to take the Debian installation image you have selected, some of them a pretty big nowadays. Insert the USB […]
This drove me nuts for a good few hours. I had a normal mailto link which I was using as a simple email this page/post button/link in a WordPress template: <a href=”mailto:?Subject=<?php the_title();?>&body=<?php echo urlencode(get_permalink());?>” title=”Share via email” rel=”nofollow”>Email</a> All fair enough, right? Nope not on Google Chrome for Android, it just opened the mailto […]
Simple function to get the current post’s thumbnail/featured image, but to return it as an array so you can get the thumbnail url, the thumbnail width and the thumbnail height. In the example I’m getting it to use the thumbnail with a lazyload script (specifically this one https://github.com/tuupola/jquery_lazyload). Replace thumbnailsize with either the name of […]
Returns a list of the groups the current logged in user is a member of
Returns the url of the logged user’s profile e.g.