How to setup Google Tag Manager in Genesis theme

Google recommend your Tag Manager code is added immediately after the opening <body> tag. To do this in Studiopress’s Genesis theme you can use the ‘genesis_before’ hook, and set the priority to “1” to ensure that your function runs before anything else that’s hooked on to ‘genesis_before’:

To do this you can place this code at the bottom of your child themes function.php file – including your Google Tag Manager code.

// Add Google Tag Manager code after opening body tag

add_action(‘genesis_before’, ‘output_google_tags’, 1);

function output_google_tags(){
 <!— Your Google Tag Manager code goes here —>

Thanks to Connie from Studiopress for this!

SEO page review checklist

General tips:

  • Review the list of chosen exact match keywords and decide which to include in the page. Don’t try to compete for competitor brand terms, or unnatural terms.
  • Target the product page around the chosen exact match keywords.
  • Ensure the page doesn’t compete with another page on the site.
  • The overall word count of the page should be greater than 250.
  • All aspects of the page should be unique and not duplicated on another page.

Include keywords in the following places. Don’t include them any more than seems naturally appropriate – i.e. write for the user, not the search engine:

  • Page title – place the most important words at beginning, keep it succinct (70 characters max.)
  • Navigation label
  • URL
  • Meta description – ensure this includes a call to action and is a maximum length of 155 characters including spaces.
  • On page anchor names
  • Headings
  • Content – use a natural amount, including at the beginning of the page.
  • Image filenames
  • Image <alt> tags
  • Image captions

Inbound internal links: ensure there are inbound links from appropriate ‘More information’ links and links within body text.

Keyword density: don’t aim for a particular density, just keep it natural.

If in doubt or if further information is required a really good source of SEO best practices is the SEOmoz beginner’s guide.

How to hide the ‘Product description’ title in Canvas by Woothemes

In each product in your Woocommerce store there is a tab named ‘Description’ and also a heading which states ‘Product description’. To remove the ‘Product description’ title just add the following code to your site’s custom.css file. You can find this file in this location: /wp-content/themes/canvas

#tab-description h2 { /* hides product description title */
display: none !important;

6 Reasons Why Woocommerce Rocks

It works out of the box

You can have Woocommerce installed and be selling your first product almost in minutes. Most likely you’ll take longer to customise and work through all your settings but once you’re familiar with it you can set it up on a new site very rapidly.

It’s free

“Free” is one of the most attractive words on the internet and so of course this is a real appeal. But it’s not cheap and nasty, mainly because it’s not really free. The basic install is free but if you have a serious shop then you’re almost gauranteed to need to purchase one or more plugins to extend the functionality. In the case of one shop I manage it was simply a plugin to handle shipping settings as we found the default setup couldn’t meet our needs.

Woocommerce logo

It’s reasonably user friendly

I wouldn’t say it’s totally intuitive but it’s certainly reasonably user friendly at the moment and, like the WordPress admin, it’s getting moreso all the time. When I first invesgigated WordPress ecommerce solutions a few years ago I tried other free options and this was easily the friendliest by far. I’ve not tried any others more recently as I’m happy with what I get from Woocommerce.

There’s lots of support available

Since it is so widely used, there is a lot of info available on forums and so on. But if you purchase any extensions or themes from Woothemes then you get access to their support services and that means quality answers in reasonable timeframes (I wouldn’t say they’re prompt but its certainly acceptable).

It’s evolving

New features continue to be rolled out, in fact there are probably too many updates which can be a concern as you never quite know how your site will handle the updates. Will it clash with another plugin? Will there be a bug that messes up something else on the site? Will a subtle change at their end mean a hack that you implemented on your site suddenly throws everything out? These things do happen so updating can be a pain. But given that means it’s evolving then I’m happy to live with it.

One of the best evolutions recently for me was the inclusion of selling digital downloads and even multiple downloads for the same purchase. It’s becoming a really comprehensive ecommerce solution that is going to be harder and harder for other premium solutions to compete with.

It’s reliable

Whilst there are bugs from time to time it is generally a pretty robust system that you can depend upon. It’s very widely used, 2.7 million downloads at time of writing, and so there is a good support base available if you do have problems. And also plenty of developers who are familiar with it if you need that extra help you can’t find for free (and they also endorse Codeable whom I’ve yet to try but will do next time I come up against something I can’t solve on my own).

Forget SEO, try this one amazing trick

Or if you were expecting something a little more serious here’s Rand’s latest from

How to edit the site title in Canvas by Woothemes

Canvas uses two different ways to style the text for the title of the site. For clarity, I’m refering to the site name that appears in the header of every page. You can change these to some extent using the inbuilt customisation options, but if you want to do something a bit more adventurous then you need to create some custom css and put this in the custom.css file.

For the homepage it is H1 and for all other pages it isn’t. So in order to make a change that appears across all pages you need to style both.

For example, if you wanted to add an underline to the site title then for the homepage you would use:

h1 a {
  text-decoration: underline;

and for all other pages use

#logo .site-title a {
  text-decoration: underline;

Media Temple review – are they a good web host?

I’ve used Media Temple for about 5 or so years now. I’ve been very happy with them on the whole as I find their interface easy to work with. The one click installations of WordPress are my favourite since I work with WordPress a lot.

Being based in New Zealand I initially used a local hosting company for my first website to try and support local businesses. However I was fortunate enought that my first site got some social media attention and I had a spike of 20K visits in a day. This got me a personal phone call from the company advising me that the ‘unlimited’ plan wasn’t really that unlimited after all as international traffic cost them too much. So I looked around and found a different option. Media Temple seemed like a good choice and I’ve been with them ever since.


  • Really nice, easy to use admin interface
  • Reasonable pricing
  • Enormous bandwidth
  • Heaps of storage – great for one of my sites that sells lots of digital audio files
  • One click installations of WordPress
  • Pretty good customer support


My main criticism, perhaps my only criticism really, would be site speed of the grid service (shared hosting). Sometimes they’re superfast, and other times they’re super slow, and ever so often they don’t even load. When you look at the Pingdom reports they show that sites still have excellent uptime. But when I use the sites myself I find that they have speed issues more often than I would like.

One of my sites is the main site for an international organisation and I’ve heard anecdotally that the site loads very slowly in Africa for example. I live in New Zealand and so some of the speed issues could be an NZ thing, but then other sites load fine. Media Temple are US based but with cloud technology these days location shouldn’t really be a problem for a large company like this. My gut feeling is that this is probably just the reality of shared hosting. There are probably some other sites on the shared space that are the reason mine are sometimes slow.

I know that WordPress can easily become bloated with too many plugins or poor coding, however I’ve noticed this slow loading even with sites that have just a few plugins and stock standard templates so I really think it is something at Media Temple’s end as far as I can tell.

Whatever the case, this is an issue not to be dismissed lightly as page loading time is a factor Google takes into consideration when determining search rankings. So it’s worth getting right.


I’ve contacted them on a number of occasions about the speed issue but haven’t really received satisfactory answers. I’m talking about their Grid hosting here btw – my presumption is that this is just how it goes for shared hosting and that I would just have to bite the bullet and choose a better quality plan to improve site speed.

I’m still happy enough with Media Temple to stick by them for the time being. But at some point I will setup hosting with another provider to get some comparison.

How to change where the ‘Continue Shopping’ button on the Woocommerce cart page links to

On the Woocommere cart page there is a button that links back to your shop home after you have added a product to the cart. If you want to change where this button links to you can add the following code to your functions.php file.

You just need to replace with the url you want the button to go to.

// Changes link destination of 'Continue Shopping' button on cart page

add_filter( 'woocommerce_continue_shopping_redirect', 'my_custom_continue_redirect' );

function my_custom_continue_redirect( $url ) {
return '';

Thanks to Roy from Woocommerce for this handy tip.

HTML5 audio player plugin for WordPress

If you’re looking for a quick and easy, yet quite brilliant HTML5 audio player plugin for WordPress then you can’t go past mb.miniAudioPlayer. Despite having a strange name, this funky little player is really cool. It’s literally a case of just installing it and it works, nothing more to it.

  • Step 1. Install the plugin
  • Step 2. Insert any audio link you like via the normal WordPress method.

That’s it!

If you wish to further customise the colour and so on then there is an additional button available in the WYSIWYG editor where you can tweak it a bit.

But all in all a great plugin. Works on iphones/ipads too since it’s HTML5 rather than Flash.

WooThemes Are The Way To Go For WordPress Sites

I’ve only recently started using WooThemes for my WordPress sites and I have to say I’m impressed so far. The functionality is not actually that well promoted on their website I don’t think, at least not the full extent of it, and so when I set it up for the first time I was pleasantly surprised by how comprehensive it is.

There are heaps of extra settings they give you which are really cool. For the average or beginning WordPress user this means a greater degree of customisation of your site without having to get into the code. You can still get into the code, but it’s not essential, which I think is a real plus for those starting out or with limited time to learn.

But it also gives developers or the more experienced WordPress user a way to set up sites more rapidly, as you can export the settings and import them into another install and then just tweak as requried. And you can customise as you like in a separate stylesheet so you can kind of create your own child theme. This would of course be a grandchild theme since WooThemes are already child themes, their parent being the Woo Framework. There isn’t really decent documentation around about this but there are some tips within the settings area once you’ve actually installed it.

Another thing I like about the WooThemes approach is that they fully acknowledge that the WordPress SEO plugin is going to be a better option than them trying to be SEO experts so they aren’t trying to be all things to all people.

I’ve just been working with the Definition theme which I quite like. It’s not my favourite of their themes but for the purposes I need it right now it works. Surprisingly quite a number of their themes aren’t responsive which I would have thought would be pretty much standard issue these days, but apparently it’s not. It would be good if they would address this in some of their older themes which are still really modern and stylish looking, but which suck on mobile.

They have the option to purchase themes individually or join as a club member and download the lot, including the photoshop files used to create them, which means you can alter them even more as you wish.

Prior to converting to WooThemes I have used the Genesis framework which, at the time of writing, this blog is using. I am just using the framework in it’s raw state without a child theme applied and I quite like the stripped down Zen vibe of it. I think it works on a tech blog but in lots of other cases it just looks budget. Studiopress, the creators of Genesis, have a decent array of child themes to select from as well.