Blog

Ratio Calculator

Simplify your ratio quickly without having to find the greatest common factor!

 

:

 

:

Posted in Programming | Tagged | Leave a comment

CSV to Tab Delimited

When dealing with exported data I find myself needing to convert CSV data to tab delimited. To save me time I created this little tool to do simply that.

Read More »

Posted in Programming | Tagged | Leave a comment

Colour Swatch

Enter a base colour to create a colour swatch of lighter and darker colours.

Posted in Everything Else, Programming | Tagged , | Leave a comment

WordPress Backup Plugin

The WordPress plugin ‘Wordpress Backup (by BTE)’ is no longer available on the WordPress website and the author, Blog Traffic Exchange, seems to have disappeared.

The plugin still works so we’re providing a download here:

Download WordPress Backup Plugin

Posted in Programming | Tagged | Leave a comment

Go to Line Number

Use this tool to go to a specific line number or display the current line number of the input text.

 

Posted in Programming | Tagged | Leave a comment

Indent or Outdent Text

I often find myself needing to do indent text (for SQL or a bit of CSS) and may not have an editor handy so I created this simple tool!

 

Posted in Everything Else | Tagged | Leave a comment

Find Length of a String

Need to find the length of a string quickly? I often do so here is a simple form to do just that.

jQuery is used to calculate the length which means the form does not submit your input to our server – keeping your entry anonymous!

 

Posted in Programming | Tagged | Leave a comment

What is my IP Address

We detected your IP Address as:

54.81.108.205

Posted in Everything Else | Leave a comment

Find and Replace

Using ‘find and replace’ when programming or working with text files can save a lot of time – especially when you get creative. For me, Dreamweaver has the most effective find and replace feature and these days it’s one of the only reasons I open the program. The ability to find and replace using line breaks and other white space characters is something that seems to have been over looked by others, for example Visual Studio.

Read More »

Posted in Programming | Tagged | Leave a comment

Disable WooCommerce Content on Shop Page

The WooCommerce settings provide an option to disable the shop page, but if you have a page called ‘shop’ then WooCommerce will still load the page using the products archive template:

/wp-content/plugins/woocommerce/templates/archive-product.php

This template file can be copied to your theme folder and then edited allowing the content to be changed (full details in the The Woo Themes Documentation). The file needs to be created in a folder called ‘woocommerce’ in the active theme:

/wp-content/theme-name/woocommerce/archive-product.php

This technique lets you change the content, but we wanted the page to load as if it was a normal page. To achieve this  the page content is reloaded by calling query_posts and then including the desired theme template for the page (in this case page.php):

<?php
 // override archive-product.php

 // load specific page
 query_posts('page_id=2');

 // load the page template for the current theme
 include get_template_directory() . "/" . "page.php";

 // stop any other woocommerce code executing
 exit;
 ?>

This solution (hack) is not ideal and the problem may well be resolved in a future revision of WooCommerce.

Previously the template page was named archive-template.php and this post has been updated to the newly named archive-product.php – thanks to Nancy for pointing this out.

Posted in Programming | Tagged , , | 7 Comments