Enqueue Fontawesome in WordPress, without a plugin

Fontawesome for icons is … awesome.  The easiest way to use it is their CDN. It’s one less thing to serve from your hosting and, as it’s widely used, your site visitors may already have it cached in their browser (evidence here). In WordPress, to use the fontawesome CDN without using a plugin, and to use the best practice enqueue method, add this to your (child) theme’s functions.php   add_action( ‘wp_enqueue_scripts’, ‘prefix_enqueue_awesome’ ); /** * Register and load font awesome

Fixing WooCommerce 2.2.x upgrade errors

We’ve noticed a few minor but annoying problems emerging from recent WooCommerce 2.2.x upgrades. These relate to settings not persisting after upgrades. So, in the spirit of sharing with the community (and hopefully saving others some time!), here’s a few problems and their fixes: (Note: these issues may only affect older WooCommerce sites which may have originally been built using WC v1.6.x) Checkout not recognising the contact details WooCommerce has probably changed the default shipping address setting to ‘default to

WordPress tip: Rename “Posts” to “News”

Sometimes with WordPress websites the term ‘Posts’ isn’t ideal. For example, you might prefer the name ‘News’. Here’s how to rename “Posts” to “News”, and use “News article” as the label where appropriate, eg for single articles. Copy the code below to your functions.php file: /* Rename “Posts” to “News” And use “News article” as the label where appropriate, eg for single articles Source: */ add_action( ‘admin_menu’, ‘consil_change_post_menu_label’ ); add_action( ‘init’, ‘consil_change_post_object_label’ ); function consil_change_post_menu_label() {         global

How to resize and crop an image in WordPress

WordPress has a very handy in-built image editor. Here’s a quick screencast showing how to resize an image and crop it to exact dimensions. It’s all pretty easy, the only counter-intuitive thing is that the crop icon is selected by default – clicking that icon makes the crop occur so you do that when you’re happy with the size and crop settings. There’s no audio.

Thank you Mrs BeeBakes!

Christmas has come early! Look what the wonderful Helen Bowman (aka Mrs BeeBakes) brought us today: Hand-made, delicious and they look amazing! We’d heard she made great cakes, but seeing – and tasting – is believing. Thank you Mrs BeeBakes! ps naturally, they’ve all gone already – but you can get your own from Mrs BeeBakes

Problems with Excel: Proper case function and apostrophes

Something that cropped up today. Excel has some handy functions for quickly changing the case of text, in bulk. One is PROPER – this function capitalises the first letter of each word, and sets the rest to lowercase. To use this function you just type =PROPER(A2) in a new cell, and swap ‘A2’ for the target cell you want to modify. So far, so good. However, there’s a limitation using the Proper case function in Excel – it capitalises all

Page 1 of 812345678