88 reputation
17
bio website stallion-theme.co.uk
location UK
age 45
visits member for 4 years, 7 months
seen May 24 at 14:45

Jun
22
awarded  Notable Question
May
3
comment GravatarLocalCache Plugin Broken in WordPress 4.2
The plugin has one PHP warning related to unlink: tries to unlink the tmp file when it's already been unlinked, I think the error trips when the image is downloaded from gravatar.com. Been throwing this error out since day one, so don't think it's related to the 4.2 issue.
May
3
comment GravatarLocalCache Plugin Broken in WordPress 4.2
I use caching for performance reasons. Explained at stallion-theme.co.uk/wordpress-gravatars gravatar.com doesn't optimize it's images and has the browser cache set too short (5 minutes) which effectively means the images aren't cached by a browser: caching an image for only 5 minutes means most users will have to download again every visit. So by using gravatar.com for avatar images the Google PageSpeed Insight Tool throws out a bunch of warnings, since Google considers page speed important SEO wise, not fixing them could have a negative impact on Google rankings.
May
3
asked GravatarLocalCache Plugin Broken in WordPress 4.2
Sep
12
awarded  Popular Question
Mar
15
comment Custom Meta Box Upload Image Problem
Have spent hours looking for a solution with no joy so tried a different technique for generating meta boxes (better solution) and the new technique isn't working on one of the test sites. Not extensively tested yet (just two test sites), but looks like it wasn't the code after all, guess I have a conflict elsewhere, typical hey :-)
Mar
14
asked Custom Meta Box Upload Image Problem
Aug
1
answered Threaded comments - deleting parent comment leads to orphan comments
Aug
1
comment Building Gravatar Code
It worked for the Mystery Man setting, but when selecting other Gravatar types is showed the Mystery Many image. I add an if so it's only used whe Mystery Man is set and it works. Put the code I'm using in the main post above as the solution. Thanks for the code.
Aug
1
revised Building Gravatar Code
Added solution
Aug
1
comment Building Gravatar Code
The idea is to remove the Gravatar img src code from the search engines. The sort of image code core WordPress generates has potential SEO value (at best neutral, but possibly negative for Gravatar images), by using the image as a background image using CSS it has no SEO value either way. Removing the img src code is playing it safe SEO wise.
Aug
1
comment Building Gravatar Code
Thanks Bainternet, your code didn't work as is but helped solve the issue.
Aug
1
asked Building Gravatar Code
May
26
accepted Code for Category, Tags, Archive URLs
May
26
asked Code for Category, Tags, Archive URLs
Jan
13
awarded  Tumbleweed
Jan
6
asked Adding Google Custom Search to a Public Released Theme
Dec
23
answered How to replace the domain name in a Wordpress database?
Dec
21
answered How can i initialize a widgetized sidebar (with widgets)
Dec
20
awarded  Scholar