Considering how regularly new versions of Firefox now come along, that's quite some bug fix list in version 10! http://t.co/K3I2vLpW 1 week ago


13th
Dec 11

WordPress 3.3 released



WordPress 3.3 is now available…

For Users

Experienced users will appreciate the new drag-and-drop uploader, hover menus for the navigation, the new toolbar, improved co-editing support, and the new Tumblr importer. We’ve also been thinking a ton about what the WordPress experience is like for people completely new to the software. Version 3.3 has significant improvements there with pointer tips for new features included in each update, a friendly welcome message for first-time users, and revamped help tabs throughout the interface. Finally we’ve improved the dashboard experience on the iPad and other tablets with better touch support.

For Developers

There is a ton of candy for developers as well. I’d recommend starting your exploration with the new editor API, new jQuery version, better ways to hook into the help screens, more performant post-slug-only permalinks, and of course the entire list of improvements on the Codex and in Trac.

The official WordPress announcement

3.3 Codex Details

Change Details

Download 3.3 (entire installation)

Delicious Digg Facebook LinkedIn Read It Later reddit StumbleUpon Twitter SeparatorEmail Google Translate PDF Online Print Friendly



16th
Nov 11

Bandwidth Problems


So, I’m into day 11 of this month but my hosting bandwidth (which was only recently doubled) is now at 75% used. What’s going on?

Thankfully, Memset provide cPanel and a host of data analysis tools. As you can see from this graph it’s rocketed since mid-October.

I’d love to say it’s because visitors have gone up as much, but that’s not the case. Looking at the biggest bandwidth hogging files, it’s exactly as normal – in fact nothing in particular is causing it.

What did happen mid-October though is that I started looking and changing the site’s caching. I’d been using PHP Speedy with all options switched on (except for GZIP, which I had in my .htaccess file along with a few other tweaks) but was finding that was breaking Debug Bar and jQuery Lightbox For Native Galleries. You can exclude certain scripts from PHP Speedy but that didn’t seem to fix the problem.

I therefore decided to try an alternative method. After some testing I settled on WP Super Cache (to cache the pages – this improved speed but not bandwidth as the same size results are delivered) and WP Minify (this combines and minifies the scripts – something that PHP Speedy did, but I could get WP Minify to work with the aforementioned Debug Bar and Lightbox scripts). I also retained my .htaccess changes.

And that’s how it’s been since. The site’s very quick BUT it looks like the size of the pages being delivered are horrendous.

The cause? Right now, I have no idea and I’m still tinkering – expect to see some site problems over the next few days as I try and resolve it.

What I’ve immediately done is switch off WP Minify and put PHP Speedy back on. Oddly, it’s working with GZIP switched on – if the .htaccess changes are working, this shouldn’t work. I therefore need to check my .htaccess further. Maybe the changes made to this file by WP Super Cache have affected it.

Certainly something has to be done with some urgency and if I have to I’ll abort all changes and had back to PHP Speedy solely (and break those other scripts). My hunch – GZIP isn’t working. Testing tools indicate otherwise.

I’ll update this post, as it may be of use to other developers. And, of course, if you have any ideas please comment and let me know your thoughts.

Update, 16th November.

Sorted. Although online testing tools reported that GZIP was working, it wasn’t. Activating that has put my bandwidth back to normal…

Through some further testing I’ve settled on using WP Minify rather than PHP Speedy. I’m also using WP Super Cache but note that this doesn’t affect bandwidth, only speed.

Delicious Digg Facebook LinkedIn Read It Later reddit StumbleUpon Twitter SeparatorEmail Google Translate PDF Online Print Friendly



26th
Oct 11

How to use the Android 4 Roboto font on your website


If you wish to use a non-standard font for your website then there are a number of ways to do this. However, I prefer to use the font-face CSS option. It’s not without its disadvantages, so read up on it before proceeding.

For each font that you wish to add simply add the following code to your CSS…

@font-face {
    font-family: 'DroidSansRegular';
    src: url('DroidSans-webfont.eot');
    src: url('DroidSans-webfont.eot?#iefix') format('embedded-opentype'),
         url('DroidSans-webfont.woff') format('woff'),
         url('DroidSans-webfont.ttf') format('truetype'),
         url('DroidSans-webfont.svg#DroidSansRegular') format('svg');
    font-weight: normal;
    font-style: normal;
}

You’ll need to change the font-family to the name that you wish to give the font. Then there are 5 references to the font files – 4 different types to cover different browser requirements. Again, these will need changing appropriately.

This site previously used the font named Droid, which is the open source font used by Android. With last week’s introduction of Android 4, however, they’ve created a new font named Roboto – this has been designed for HD screens, so is perfect for websites.

If you wish to use either of these fonts, I’ve bundled them up ready for font-face (i.e. with each of the 4 formats that are required).

Download Droid

There are 3 versions of the font – standard, bold and mono space.

Download Roboto

There are 2 versions of the font – standard and bold.

Delicious Digg Facebook LinkedIn Read It Later reddit StumbleUpon Twitter SeparatorEmail Google Translate PDF Online Print Friendly