June 5th, 2012

Posted in Portfolio + Theming + Wordpress

New Stuff

As always I have been neglectful of this blog… but in my defense I’ve been pretty busy! Here’s a small selection of some of the stuff I’ve been up to.

Soon to be launched Lodges of New Zealand site.

Soon to be launched Switched On site.

New WordPress theme for sustento.org.nz

February 21st, 2012

Posted in Portfolio

New Work

Just finished a fun little project for Girl Guiding New Zealand. View the live site here.

September 7th, 2011

Posted in Portfolio

New WordPress site: Socialjusticeweek.org.nz

With the 2011 Rugby World Cup approaching fast, one of our clients – Caritas decided to compare the various countries participating¬† on a different scale than sporting ability – social equality… interesting results.

Great artwork supplied and an open brief for the design, I’m pretty happy with the end result.

You can view it here.

August 12th, 2011

Posted in Reference + Wordpress

Multiple Widget Areas in WordPress

As I develop more and more themes,¬† the benefits of using widgets are obviously apparent, not just when developing WordPress themes for a ‘pure’ blog but as an easy way for clients to update websites when I have created more of a CMS theme for them. Plus many useful plugins come only in widget form, rather than having the ability to insert code into templates.

The problem I came up against is many themes I have picked apart and analysed came with only one widget area. In reality you often need two or more widget enabled areas. Here for my future reference and yours is some code snippets that will easily allow you to have as many widget areas as you want or need.

The first file we want to look at is functions.php We want to register these widget enabled areas so they appear in the WordPress administration area. All we need to do is add the following code to our functions.php file

if ( function_exists(‘register_sidebar’) ) {
register_sidebar(array(‘name’=>’widget area’,
‘before_widget’ => ‘<li id=”%1$s”>’,
‘after_widget’ => ‘</li>’,
‘before_title’ => ‘<h2>’,
‘after_title’ => ‘</h2>’,
));
}

Where we have: register_sidebar(array(‘name’=>’widget area’,
‘widget area’ is the name of our new widget. It could be ‘footer widget area’, it could be ‘banner adverts’ whatever is appropriate.

You will see some html there as well to wrap our widget in, pretty straight forward.

Step two is as simple as opening up the template that you want this new widget area to appear on, locating the div you would  like it to appear and then pasting this code:

<?php if ( !function_exists(‘dynamic_sidebar’) || !dynamic_sidebar(‘widget area’) ) : ?>
<?php endif; ?>

Again nice and straight forward, just replace ‘widget area’ with the name of the widget area you created. Log into your WordPress dashboard and navigate to the widget area and customise away. After that it is just a case of rinse and repeat, add as many individually named widget areas as you like.

August 10th, 2011

Posted in Music

Soundtrack Part 1

LIQUID STRANGER – SHORT FUSE MIX by Liquid Stranger

Among the various things I have listened to while making this site.

August 2nd, 2011

Posted in Portfolio + Wordpress

New Work

This was a great project with a great client. A custom wordpress theme with all the bells and whistles including the ability to change between Spanish and English versions and a pretty sweet drop down menu. View the site here.

July 18th, 2011

Posted in Amusing + Inspiring

Progress of some sort…

Well im getting there at least with the index page and the overall CSS. Hopefully by the end of the week will have all the basic templates sorted.

July 10th, 2011

Posted in Theming + Wordpress

WordPress Theme Development

You will see some odd stuff going on around these parts, basically I’m using this URL as a testing platform for a series of WordPress themes that I am developing. First up SUPERCLEANOTRON – doesn’t need much explaining really. It’s clean, it’s super and it’s a bit robotic.

Let’s do this thing!