Published 6th Mar 2013 by filed under WordPress
WordPress articles.
Posts Categorised : WordPress.
0WordPress updates progress.
Published 30th Dec 2019 by filed under WordPress
Last updated 3 Jan, 2020.
I’ve had an issue for a while now where installing wordpress updates doesn’t show any messages or progress.
The updates generally do install but it is tricky to know when the updates have finished.
There are a few threads online with possible solutions but most of them haven’t been helpful in my case.… Read Full Article nginx, php, updates, wordpress, zlib compression 0Website testing tools.
Published 24th Dec 2019 by filed under WordPress
Last updated 29 Dec, 2019.
I am constantly working on both my websites and my web server stack with the aim of it being fast, reliable and secure.
New technolo gies and new vulnerabilities mean a constanyl moving target and sometimes things that have been previously fixed can recur.
As well as maintaining articles about many fixes, and a site update s log, I use a range of website testing tools.
As this list has grown it has reached a point where I felt the need to document the services I use… Read Full Article gtmetrix, mozilla observatory, security, ssl labs, testing tools, validator, w3c, website 0WordPress visual editor not working.
Posted 24th Dec 2019 by filed under WordPress
I’ve had an issue for a little while where the wordpress visual edit or button stopped working.
The code edito r was fine, and the button for the visual editor is present but clicking on it has no effect.
After much fiddling around I finally discovered it was being broken by my Content Security Policy!… Read Full Article classic editor, content security policy, visual editor, wordpress 0Fixing wordpress visual editor.
Posted 26th Nov 2019 by filed under WordPress
I’ve had an issue recently where the wordpres s visual editor stopped working.
The code editor worked fine, but the visual button just didn’t do anything at all.
I knew it wasn’t a server setting because it impacted 2 of 5 wordpress sites on the server, but the others worked fine.
I tried deleting and copying fresh copies of “wp-includes” and “wp-admin” in case something had got corrupted but this didn’t resolve the problem either.… Read Full Article 0WordPress Local Gravatar cache.
Posted 12th Nov 2017 by filed under WordPress
I like to have avatars shown for people who comment on my blog.
WordPress supports the gravatar service natively so enabling this is very easy
However it comes with a cost — accessing external files from another domain adds lots of extra load time in the form of new DNS lookups, new SSL connections to make, etc.
Wouldn’t it be nice to have gravatars stored locally and served from your own server.
Well that’s what I’ve been doing for some time now, if you’d like to know how.
Read on…… Read Full Article avatar
cache, gravatar, wordpress 0Localisation of Amazon Affiliates links.
Posted 2nd Mar 2017 by filed under WordPress
I occasionally reference products on my various websites, and usually link them to Amazon for anyone interested in buying them.
A long time ago I used to link with an amazon affiliates link but never earned anything from it as my typical readership is well distributed around the world.
Unfortunately Amazon don’t provide a way to redirect visitors to their local amazon site whilst retaining to affiliates payments.
There are various solutions out there but all the ones I found had issues with them.
So I developed my own.… Read Full Article affiliates
amazon, php, wordpress 2Fixing Rich Snippets Testing Tool for Microdata.
Published 10th Mar 2013 by filed under WordPress
Last updated 15 Mar, 2013.
Over 2 years ago I published an article on how to fix problems with WordPress themes which didn’t pass the Google Rich Snippets Testing Tool.
Since then lots has changed — WordPress and most themes have better support, HTML5 and CSS3 have arrived, and Google, Yahoo and Bing got together and decided to focus on Microdata, via schema.org.
At the time microformats seemed the easiest way to mark up pages, and the testing tool had the most comprehensive support for these.
The move to Microdata and the changes to WordPress required a new article: this is it!… Read Full Article authorship, google, hentry, microdata, microformats, rich snippets, schema.org, updated 5Adsense ads above the last paragraph of a post.
Published 6th Mar 2013 by filed under WordPress.
Last updated 12 Nov, 2017.
You may have noticed that we’ve tweaked how we display our adsense ads. We wanted some small text-only ads near the bottom of each article, which would be added automatically. This took a little bit of tinkering, but eventually we developed a solution which works well and doesn’t seem to knock page processing times much. Simply add the following code to your theme’s functions.php (don’t forget to change your adsense IDs) … Read Full Article adsense, automatic, functions.php, wordpress 0Easily set the parent of a WordPress comment.
Published 6th Mar 2013 by filed under WordPress.
Last updated 7 Mar, 2013.
As is documented in the site update log, for a while we had a problem with our theme where it wasn’t possible to reply to a comment so that the reply would appear correctly in a threaded way. We have no fixed this problem, but have been left with a significant number of comments which really need editing so it is easier to see what they are in reply to. With a standard wordpress install this requires going into the database and editing there, which is very tedious. Instead, we’ve used some simple functions to add an option to the comment-edit admin page, to set the comment parent there. Eventually this will be developed into a proper plugin to enable this functionality. For now the code is below.
Just add it to your theme’s functions.php… Read Full Article comment
edit, id, parent, php, reply, wordpress 1Jetpack-style comments without Jetpack.
Published 13th Feb 2013 by filed under WordPress
Last updated 7 Mar, 2013.
One of the best things about wordpress is the built-in social aspect provided by comments. Getting your comment section right can be very important to any website, including ours. Over the years we’ve experimented with various comment plugins including Disqus and more recently Jetpack. However, we’ve always ended up bring things back in house for management, performance and privacy reasons. When I moved back from Jetpack comments I really missed some of the slick features provided by Jetpack, both the social-network logins and the general slick styling. Anyway, to cut a long story short I finally had time today to take a good look at how wordpress “does” comments and figure out a way to build an in-house system which looks nice and slick like the comment interface provided by jetpack. Best of all its surprisingly simple and does things the “proper” way…… Read Full Article comment_form_defaults, comment_form(), comments, comments_form_top, jetpack, wordpress 1.
2.
→.