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
Posts Categorised: Wordpress
0
0
Website testing tools
I am constantly working on both my websites and my web server stack with the aim of it being fast, reliable and secure. New technologies 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 updates 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
0
WordPress visual editor not working
I’ve had an issue for a little while where the wordpress visual editor button stopped working. The code editor 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
0
Fixing wordpress visual editor
I’ve had an issue recently where the wordpress 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.
0
WordPress Local Gravatar cache
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
0
Localisation of Amazon Affiliates links
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
2
Fixing Rich Snippets Testing Tool for Microdata
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!
5
Adsense ads above the last paragraph of a post
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
0
Easily set the parent of a WordPress comment
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
1
Jetpack-style comments without Jetpack
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
Recent Comments