//

Blog

Below you can see all our latest blog posts on various WordPress and non WordPress issues, news, plugins, work etc.

rss-largeIf you would like to keep up to date with our blog posts then we also provide a handy RSS feed of these posts and can also be found tweeting: follow us @TheBlogHouse.

The Blog House

How to Customize Twenty Ten

Twenty Ten WordPress Theme

Twenty Ten is the new default theme for WordPress 3.0 and makes great use of all the new features this new major release brings so it seems to make sense to start with this as a base for your next WordPress based project’s theme yeah?

Well before you start jumping in and hacking the code you need to realise Twenty Ten is in fact a Parent Theme and you can make ALL your required CSS / Function and Template modifications in a subdirectory so when the main Twenty Theme is updated all those tweaks and hacks won’t be lost for ever – cool ay?

Of course WordPress do a great job of explaining how to start working with Child Themes using Twenty Ten as the base here but we thought we would summarise our take on this for those who need the bare minimum to get started: Got your favourite PHP / CSS editor ready? Great let’s begin…

How to set up your directory should be set up

The most important aspect of getting your new child theme working is making sure you have the required files in the correct place like this:

  • web root
    • wp-content
      • themes (directory where all your themes are)
        • twentyten (directory where the Twenty Ten Theme is)
        • your-new-twentyten-child (directory of your new child theme – you can call this anything!)
          • style.css (the only 100% required file in a child theme which must be named style.css)
          • functions.php – this is optional but is the place to add new functions to your theme. It is loaded in addition to the parent’s functions.php and right before the parent’s file.
          • header.php, index.php etc – Again you don’t need these but the best thing to do is make a copy of the original Twenty Ten Theme files you want to modify and store them here. Then edit these copies to remove things that you cannot do via the nice new options within the WordPress Admin area and be safe in the knowledge you can always just delete your copies to get back to the Twenty Ten Originals

What needs to be in the child style.css file as a bare minimum

The following is the standard

/*
Theme Name:     My Twenty Ten Child
Theme URI:      http: //thebloghouse.com
Description:    My child theme for the Twenty Ten theme
Author:                Andy
Author URI:     http: //thebloghouse.com
Template:       twentyten
Version:        0.1.0
*/

@import url("../twentyten/style.css");

/* The following CSS is our example - you do not need to change your site's title link colour */

#site-title a {
    color: #009900;
}

Seems easy enough yeah?

Only thing you need to watch out for is if you want to say change the way Twenty Ten deals with certain CSS values you need to make sure you copy the full original CSS into your style CSS and change each value. By this we mean say you want to change the nice new Twenty Ten footer. You would find the following in the original style.css and copy this to your style.css file:

#colophon {
 border-top: 2pt solid #000;
 }

However simply removing the border-top: 2pt solid #000; part will NOT remove the border – you would need to have the following none value to override the original style.css:

#colophon {
 border-top: none;
 }

Obviously this is a very quick and simplistic look at the great work that everyone who has worked on and contributed to WordPress 3.0 and the Twenty Ten theme but if you are struggling with the basics hopefully the info above might help.

If not I would suggest reading the documentation again here, check out the 1 hour + video below by Steve Bruner and his WordPress 3.0 Customization Techniques or feel free to post a question in the comments below.

Microsoft irrelevant in 5 years?

Microsoft Problems

I am a technology fan first and foremost and secondly a long time Microsoft user of their products and software as I have grown up, like most of my generation (I am 29) using Microsoft technology in both my daily work and personal life as Microsoft / Windows put simply was that ubiquitous that computing WAS Microsoft to most people. However since Vista, and especially since Bill left back in July 2008 Microsoft seem intent on shooting themselves in the foot and not moving forward hence the main thrust of this post – I think unless something drastic happens in the next 6 months they will be irrelevant within 5 years at most.

A brief history of (my) time with Microsoft Software

My own personal relationship with Microsoft started back with Windows 95 and has continued since then via Windows 98, 2000, XP, Vista, WHS (Windows Home Server) , 7, their server operating systems (2000, 2003 and 2008), the Office suite of software, their programming languages  (ASP, .NET) and their mobile versions CE, Pocket PC, Mobile, 6, 6.1, 6.5. Splitting things up let me explain where I think  Microsoft have done well and where they have stagnated or even worse gone backwards:

Home Operating Systems

Windows lead the world back in the early home computing days of Windows 98 and effectively created what we all take for granted as working home computers these days. They then released Millennium Edition which was possibly their lowest point and reached their peak with Windows XP. XP worked well most of the time, was intuitive and fairly light – certainly when compared to the heavy best that replaced it – Vista. So many things were wrong with Vista it was unfunny but after Service Pack 1 at least you could use your computer almost as well as it worked with the older Windows XP. Then Windows 7 came along, which is what I am typing this post on and it has honestly been a reliable operating system so far but there are still small glitches like thumbnails not showing as soon as I go into my folders, shutting down gives me warnings about background tasks still running and this is all on a fairly high end Core i7 based desktop with 3GB triple channel Ram and fancy graphics card.

Yesterday, I tried the latest version of Ubuntu – 10.04 Lucid Lynx and honestly if I hadn’t have paid for Windows 7 already and I was building a new PC I would use this as my default operating system as everything just works, it looks nice and it hides the geeky parts of the underlying Linux back end very well.

From Windows Vista onwards I think Microsoft have lost their way in the digital, tech hungry homes of today. Windows 7 is good but if we are all honest it is what Vista should have been all those years ago and it hasn’t exactly been a game changer has it?

The only product that has excited me and been innovative over the last few years has been something called Windows Home Server which explained simply, sits on your home network sharing files, allowing remote access to your files and computers as well as most importantly, automatically backs up all your home computer’s each night. A lot of you probably won’t have heard of this though as Microsoft never really promoted it to the mainstream and things don’t look like they will be changing anytime soon as the new version, codenamed Vail (see the excellent We Got Served preview) has not got the killer feature for me and other long term WHS users have wanted – Windows Media Centre built in to allow you to stick a TV Tuner in and record TV and stream it wherever you want within your home and externally.

Put simply Windows 7 will be my last Microsoft operating system with an old copy of Windows XP or Windows 7 on a virtual machine somewhere for the rare old programs that I might need to use someday.

Server operating systems

Windows 2003 is fairly rock solid as most will agree and 2008 is fine by all accounts but as a seasoned web developer I made the decision 2 years ago to abandon the bloat of Windows ASP.NET and start developing in PHP which lead me to look at Linux based Web servers in more depth. All the various Linux based web servers have their pros and cons but going with Ubuntu or Red Hat as your particular flavour and then using Nginx (Apache if you can’t use this) and the various PHP caching systems like XCache make Windows Server and IIS look very slow, inefficient, bloated and tired. Finally we get onto the latest trend in web servers and their OS  – VPS based systems which allow you to have your own self contained chunk of a server to act and control effectively like your own dedicated server at a fraction of the price. Microsoft based Operating Systems are again being left behind in this modern technological revolution as all the leading web hosting companies if they are honest with you will tell you, Windows Server is simply not ready for prime time, reliable VPS based hosting unlike the free Linux based VPS solutions. These Linxu based VPS servers are put simply reducing web site owner’s costs AND also allowing instant scalbibily in temrs of badnwidth, ram, CPU cycles at a touch of a web admin panel and again we will likely not be going near another Windows Server based server again unless we have to 100% support ASP.

Software

MS Office which is £200+ here in the UK is simply not worth that as Open Office is so good at dealing with your Word, Excel and PowerPoint documents and FREE that again I can’t see once people try it why they would go the paid Microsoft route again. Email used to be one of the main reasons people stumped up the cash to get the full Office email software but this can now be dealt with either by the impressive and also free Mozilla Thunderbird or if you have faith in ‘the cloud’ Gmail is by all accounts is great. Does anyone really care what Office 2010 will do? I am convinced it will be an incremental upgrade not a revolution and will again be effectively the same product as Office 97 which WAS good for it’s time but is simply dated today.

Mobile (Cell) Phone Operating Systems

Having started back with the Windows based PDAs then moved on to the latest Windows Mobile based smart phones nothing has fundamentally changed with the Windows Mobile OS since the first Pocket PC devices back in 2002. Yes there have been new features stuck on top but fundamentally you could be given a PDA with Pocket PC on from 2002 and a Windows Mobile 6.1 phone from 2009 and you would essentially be looking at the same thing. That folks, is now 8 years of incremental updates whilst the World has moved on, worked together on open source based systems and there has been genuine innovation via software companies like Google, Apple and hardware manufacturers like HTC and Motorola. The iPhone was released in 2007 – nearly 3 years ago now and it is only now just been resoundingly bettered by the Google Android powered HTC Desire which by the way, having just purchased myself prompted me to write this post as there is simply nothing based on Windows Mobile that comes remotely close to it.

The only reason I have personally persevered until now with Windows Mobile is the amazing work the Windows Mobile Communities like XDA Developers do creating custom ROMS and software you can add and flash to your Windows Mobile based devices to sit on top and mask the awful underlying Windows Mobile OS.

What about Windows Phone 7 you say?

Well to me and many other’s it looks like an Apple rip off, has less functionality than Windows Mobile (no cut and paste!), is locked down to such an extent that there will simply be no development community and will be released in 6 months+ when the world and their dog have got used to Android or Apple based smart phones. I honesty think Windows Phone 7 will be one of the most embarrassing and irrelevant product launches in tech history.

So the future…

The future might have been looking slightly better if projects like the genuinely interesting and innovative Courier Tablet hadn’t been cancelled, Bing was actually doing well in it’s own right not because it isn’t set as the default search engine on Windows machines and Microsoft had a decent strategy in the era of smartphones and innovation taking place monthly or yearly at worst, not every 5 years or more like Microsoft seem to be able to deal with. Microsoft have rested on their past glories for too long and when people look back on 2010 I think they will say this year was the year that cemented their epitaph as a previous generation big time tech company who couldn’t innovate and react quickly enough to their smaller, smarter and predominantly open source rivals.

Free Events Plugin with full PayPal integration

This is just a quick heads up to anyone that is looking for a WordPress Plugin that handles event registrations with or without online payments.

Advanced Events Registration by Seth Shoultes is FREE in it’s basic (still advanced) form and allows you to take online registrations for events, meetings, conference and seminars etc and accept PayPal payments for these.

It also allows you to capture the registering persons contact information to the WordPress database as well as provides the ability to send the registrar to your PayPal payment site for online collection of event fees. PayPal payments are captured to the database using the PayPal Standard IPN.

Reporting features provide a list of events, list of attendees, and the ability to export all attendees AND any answers they have given to custom questions to Excel (.CSV). We highly recommend you check it out.
Advanced Events Registration Plugin

Override WordPress Shortcode to show [ ] brackets

Just came across an annoying issue where we needed to show some examples of our new WordPress price comparison plugin WordPress on a site that has the plugin installed which means everytime you try to show the examples you get the plugin content!

The easiest way we have found to fix this is do the following:

Use the following numeric character references instead of normal [ ] as this way WordPress doesn’t process your plugins shortcode

e.g. [showphones make=’htc’ ] is the same as [showphones make='htc']

So just remember to replace [ with [ and ] with ]

The Blog House Expands

BMP LogoToday we are pleased to announce we are now able to offer the following WordPress services ‘in house’:

Why now I hear you ask…

Well, since soft launching the company last year we have been so busy with our first few clients sites and our top secret WordPress plugin that we put off offering anything publicly as we simply couldn’t guarantee any sort of reliable time frame to turn this extra work around.

However, today that has all changed as Adam and Paul have officially come on board to work as part of The Blog House so get in touch if you have been wanting to deal with a WordPress company based in the UK that can handle everything WordPress related.

WordPress App for Google Android

WordPress Android AppWordPress have just relased a fine looking App for Google Android mobile phones.

The initial release has focused on giving you the ability to manage your blog while on the go.

Features include the ability to:

  • Configure and manage multiple blogs
  • Comment moderation including the ability to reply to comments
  • Create and Edit Posts including categories, tags and photos
  • Create and Edit Pages
  • Get notified of new comments in the Android notification bar

Here is a brief video showing the app in action:

Dreamweaver CS5

Here is a quick post with a link to some cool HTML5 features of Dreaamweaver 5:

Looking for a complete WordPress book?

Digging into WordPress

Digging into WordPress - best WordPress book around currently?

Someone asked us to recommend a WordPress book that wasn’t for newbies but also wasn’t almost written in binary and we think the best book that fits this middle of the WordPress road position is the great Digging Into WordPress book which is available in both print AND pdf form.

Written by Chris Coyier and Jeff Starr the pdf version comes with a lifetime subscription meaning you will be emailed ALL updated versions of the book for free – pretty cool.

Click here to find out more Digging Into WordPress

NOTE: We have added an affiliated link above so we will makes a few $ if you buy via this but honestly we are not linking to this for a few $ but because we think this book is currently the best WordPress book around.

Chris Morris’s first feature film – a Jihadist comedy

Take a look at an exclusive Guardian clip of Chris Morris’s first feature film from the “jihadist comedy” Four lions:

http://www.guardian.co.uk/film/video/2010/jan/21/chris-morris-four-lions-sundance

Great single page web design

Best single page web site design I have seen in a while – check it out: http://www.basilgloo.com/

Freelance WordPress Theme Designers wanted

  • WordPress-theme-workAre you a freelance WordPress theme designer who regularly creates beautifully coded, up to date WordPress themes?
  • Do you love working on and creating varied and interesting WordPress Themes?
  • Are you desperate to use your ‘geeky’ HTML5 and CSS3 skills for a client’s web site?
  • Well if so The Blog House would like to hear from you (see below)

    The reason? As a new company we are currently only a small team but as they say, good news travel fast and we currently have several clients wanting to use The Blog House for their next project so if the above sounds like it’s up your street get in touch and we will have a look at your portfolio and get back to you ASAP.

    Your Name (required)

    Your Email (required)

    Subject

    Your message:

    ShareMyPlaylists.com

    ShareMyPlaylists.com logoThe Blog House are pleased to finally detail the work we did with ShareMyPlaylists.com which is THE Spotify community site:

    We approached the owner of ShareMyPlaylists.com with a proposal after coming across the first version of the site during our web travels and realising there was massive potential to improve the initial site by extending it’s initial WordPress based roots.

    After a few chats The Blog House won the contract to take the site from it’s standard WordPress launch form to a new WordPress MU & BuddyPress version to enable a whole new level of user interaction and functionality.

    “The Blog House were crucial in taking ShareMyPlaylists.com from it’s first incarnation to the social networking music site it is today.”

    The initial development and testing of the site took about 8 weeks and the site received great feedback from the early beta testers we trialled the site with. The initial social networking infrastructure of the site didn’t look too far removed from the standard clean BuddyPress templates (this was deliberate) but behind the scenes there were and still are many custom WordPress plugins that The Blog House have written as well as a great deal of custom server side code to keep the site running as smoothly as possible.

    During the first 3 weeks of the launch of the new Blog House version of the site, ShareMyPlaylists.com’s daily traffic increased by a factor of 4, over 4000 people created accounts and the owner of the site signed up to have The Blog House manage all his WordPress, server and technical needs. Since this successful version 2 launch ShareMyPlaylists.com has grown even further and we handed the maintenance and design over to another development agency to manage full time.

    If you are looking for a company to help you take your WordPress based web site to the next level then get in touch.

    The Blog House

    Where 14 of the top internet businesses were started

    Great post over at Income Diary on where some of the biggest internet companies started off life – hint mostly bedrooms!

    Click here for the post if you missed it above!

    What is Spotify?

    spotufy-logoTechnically Spotify is a 100% legal, peer-to-peer music streaming service that runs on your computer but it is so much more than this boring technical description might make you think…

    Spotify is quite simply changing the way millions of people buy, listen and think about music. Trust us you will NEVER listen to music in the same way again once you use Spotify.

    Check out the following official Spotify ad first…

    Spotify offers Unlimited *1 music for free *2

    • *1 = Spotify offers you access to as much music as they have in their ever expanding music library – I have yet to come across anything that I wanted to listen to and it not being available.
    • *2 = Spotify play your 30 seconds of adverts every 30 minutes or so if you use their free service. So the music is free but you have to listen to ads every so often – much less than any commercial radio station though!

    Making music social

    As well as giving you access to an unlimited amount of music for free Spotify also allows you to share your favourite groups of tracks (playlists) with as many other people as you want to via facebook and via sites like http://sharemyplaylists.com (which The Blog House developed) allowing you to get new ‘mix tapes’ every single day!

    The future of Spotify?

    There is an official Spotify iPhone App waiting somewhere in Apple’s HQ waiting to be approved. IF this gets approved by Mr Jobs et al then for £9.99 a month (Premium Spotify package) you will be able to sync all your favourite music onto your iPhone and stream ALL of the music on Spotify via WiFi or a 3G connection!

    Also Spotify is only available in Europe currently but the guys at Spotify plan to launch in USA at the end of 2009 / early 2010 and once the Americans come online, music will simply never be the same again.