Posts in March

Lazy loading Disqus in WordPress

on March 20, 2011 in Projects with 11 comments by

As you may have noticed, I have recently updated theme of my website. I’ve also cleaned up some hardly used features, including the translation bits; It seemed to annoy people more than anything.

But for some reason, the pages with single posts – like this one – were slow to complete loading. A quick look in Firebug showed that there were quite some delays getting images from the Disqus CDN. Since I don’t own that content, nor could I modify the Disqus Javascript, I had to come up with a solution to this.

From working with jQuery, I remembered that their Disqus comments only get loaded once you’ve reached a certain point on the page. Looking into their solution, I figured I could implement the same method with Disqus in WordPress. read more →

WP Flickr Background 1.1 released!

on March 20, 2011 in WordPress with no comments by

WP Flickr Background is maturing nicely and we’re now at version 1.1!

This version introduces the ability to use photos from the WordPress Media Library, which means you can upload your own photos or use those from websites other than Flickr. It gives the added advantage that photos can now be hosted locally (on your own server) or on a CDN. read more →