Lightning Talk at FrontEnd North 2016

On Friday September 30th I was lucky enough to be included in the lineup for Frontend North in Sheffield. For those fo you that don’t know what Frontend North is, it is a full day conference held in Sheffield full of frontend goodness! Full details can be found on their website here:

I spoke about some of the basics of Flexbox and how awesome it is during the first session of lightning talks (which I have to say, I was relieved about as it got it out of the way so I could enjoy the rest of the day).

It was a really very awesome day. I’m immensely honoured to have been invited to speak and I learnt absolutely loads. A huge thank you to Kimb, Dave and Matt for organising it.

Continue reading

Remove columns from the WordPress Admin posts screen

When building WordPress websites something that I’m asked more and more frequently is whether its possible to hide or remove columns from the posts, pages and custom posts admin screens. The most common requests are to remove the comments column because that particular site doesn’t have comments, or if there is only one author for the website that column may not be needed.

By using the following snippet of code we can do that very easily.

function remove_comments_column( $columns ) {
return $columns;

function remove_column_init() {
add_filter( 'manage_posts_columns' , 'remove_comments_column' );

add_action( 'admin_init' , 'remove_column_init' );

To remove a different column, for example: Author, all we need to do is change line 2 to




HeroThemes Tutorial: Integrating Heroic Knowledge Base with WooCommerce

Introducing my next article for HeroThemes. This article has taken what was covered in the first article and moved forward to take a look at how the Heroic Knowledge Base plugin could be integrated with WooCommerce to create Frequently Asked Questions for each product. Something that’s always useful!🙂

Although the subject is about integrating the KnowledgeBase plugin the focus of the article is on how to integrate content into WooCommerce and therefore could be used in lots of different scenarios. Techniques covered include

  • Using Advanced Custom Fields to select content to display on product pages
  • Looking at the WooCommerce templating system,
  • How to add the selected content to templates,
  • Adding the selected content using and hooks and filters instead.

final-faqs-672x532The end result of the article is creating a new tab on each product page that includes your custom content.

This article is quite in depth, and covers a lot of information and therefore assumes a good knowledge of WordPress, theme development and especially knowledge hooks and filters.

I hope you find it useful!🙂

The full post can be read here: Integrating the Heroic KnowledgeBase Plugin with WooCommerce


WordCamp London 2016

With all the buzz around the release of the REST API with WordPress version 4.4, I thought I’d talk about something completely different. Cos you know, I don’t like to follow trends… 😉

My talk, this year, will cover the new support for responsive images that has also been implemented in version 4.4. How srcset works and how it will change the way we develop themes.

I’m really excited to be a part of WordCamp London again. WordCamps are an integral part of what makes the WordPress community so great. Previous years have been amazing and to be a part of that for the second year in a row is truly [awesome]awesome![/awesome] I hope to see you all there!

HeroThemes Tutorial: Using the KnowledgeBase templating system & theme integration

12519504_1700939276854972_1662585904_nI’m really pleased to be able to share with you my first tutorial for HeroThemes on how to customise their Knowledge Base plugin and deep theme integration. The article is aimed at theme developers with a knowledge of PHP and covers how to use the templating system to allow the plugin to integrate seamlessly with your theme and let you make some advance customisations to it.

Using the newly released TwentySixteen theme as the base, the article goes into detail on how to set up the Knowledge BAse plugin, some of the settings available out of the box, how to include templates in your theme so that you can modify the layouts, and how to apply styling to those files.

The full article can be read here:

This is the first in a series of articles I will be writing for HeroThemes over the coming months, so keep your eye out for the next one and I hope you like it!🙂

Regular Sponsor of WordPress Birmingham Meetup

WordPress Meetup in full swing
WordPress Meetup in full swing with Johnny Allbut giving a talk

As many of you know, I’m a huge supporter of grass roots events, especially within the web and tech industries. Not only do I attend regularly, but I’ve also organised a fair few conferences and meetups in Shropshire over the years myself (see ShropGeek for more about whats going on in Shropshire).

So I’m really very excited to announce that as of December 2015 I am a regular sponsor of the WordPress Birmingham Monthly Meetup!

These meetups are casual evening events, usually run on the second Wednesday of each month. The format is relaxed with 1 – 2 speakers and the opportunity to network afterwards. The talks cover a wide range of topics, some tech orientated and some not, making them perfect for anyone who has an interest in WordPress. No matter whether you are a business owner, blogger, designer or developer there is always something to learn.

Why am I sponsoring?

Part of what I like about working with WordPress is the huge community that has evolved around it and thats partly because of events like these. But without regular sponsorship these events could not happen. I have learnt so much from meetups and WordCamps over the years (and still continue to do so) and also met so many really [awesome]awesome[/awesome] people, I decided it was time to give something back.

If you would like to find out more about these meetups or come along to the next one, (they are free to attend) check out their page on or tweet them at @WPBhamUK.

Display only one price for grouped products – WooCommerce

This is just a handy little function to control what price is displayed for a range of products that have been grouped in WooCommerce. Often the grouped products all have different prices and by default WooCommerce will display a range such as £50 – 1000. Which is not ideal. This function allows you to display the maximum price.


* Returns max price for grouped products
function wc_grouped_price_html( $price, $product ) {
$all_prices = array();

foreach ( $product->get_children() as $child_id ) {
$all_prices[] = get_post_meta( $child_id, ‘_price’, true );

if ( ! empty( $all_prices ) ) {
$max_price = max( $all_prices );
} else {
$max_price = ”;

$price = ‘<span class="from">’ . _x(‘From:’, ‘max_price’, ‘woocommerce’) . ‘ </span>’ . woocommerce_price( $max_price );

return $price;
add_filter( ‘woocommerce_grouped_price_html’, ‘wc_grouped_price_html’, 10, 2 );


NB: This is not originally my code, but unfortunately I can no longer find the website that published it to reference it correctly.