Site updated – Faster and better!

The upgrade of this blog from WordPress 3.3 to 3.4 on Dreamhost didn’t go as smoothly as planned. In fact it failed fairly spectacularly – unable to complete the required database upgrade.

However, many clouds have silver linings. In this case it meant that I brought forward my plans to ditch the horribly slow hosting provided by Dreamhost in the USA and switch over to the new VPS provided by BHost in the UK.

If you have had the chance to compare the two sites, you’ll know that it now runs a lot faster. It will improve again when I do some tweaking. I can now use a proper opcode cache for PHP, something that Dreamhost wasn’t able to provide.

I’ll be doing further optimisations now that I have full control, I should be able to do away with a whole load of WordPress plugins.

WordPress tweak to manage posts admin, filter and show custom field

This tweak will change the “All Posts” page in the administration section of a WordPress site.

It adds the ability to filter the post list based on a custom field that has been used in any of the posts at any time. Continue reading “WordPress tweak to manage posts admin, filter and show custom field”

Make the WordPress visual editor content look more like the finished output

Content in the visual post editor (TinyMCE) in WordPress doesn’t look that much like the finished article by default. Thankfully WordPress includes a style sheet that we can use to make things better. Continue reading “Make the WordPress visual editor content look more like the finished output”

Updated Blogs

Hi to everyone who has followed this blog and my other blogs (Living With Linux and my Development Blog) for a while. The Living With Linux blog is now redirected to the Linux category on this blog and the development blog redirected to the Development category.

For a long time I’ve been meaning to consolidate the blogs into a single blog and move the main blog from Blogger to WordPress.

Well, that has now happened so welcome to the new, updated blog.

There may be one or two missing posts and some missing comments but I will fix that as time allows.

I also intend to move back to using Disquss for comments which I think gives a much better reader experience and reach.

So hopefully, I’ll be more inclined to make better use of the blog again now and I will be trying to bring together not only the larger posts on this blog but also my short posts on Twitter and Diigo in a more consistent and coherent form.

Bug in WordPress 3.0 Custom Post Types

Well this one threw me!

I was trying out the new custom post types in WordPress 3.0 RC1 and could not work out why mine wasn’t working even when I copied an example from the web and only changed a few things.

It turns out that there is a limitation in the naming of post types – they cannot have a name longer than 20 characters!

If you use more than 20 characters, the “Publish” button becomes “Submit for Review” and if you submit, you get the dreaded:

Are you sure you want to do this?
Please try again.

error.