The Blog

PHP function for adding classes to html columns

A handy function to easily add classes to columns by taking the current record counter and returning a list of classes which match the current counter.

Continue Reading →

Extending WooCommerce search query to include custom fields

How to extend WooCommerce product search functionality to search in the product description and custom fields, instead of the basic woocommerce search which just searches products by their title.

Continue Reading →

How to order wordpress posts and custom post_types

When working on a recent project i needed to display a custom post_type in a specific order, to do this we need to hook into the main wordpress for the post or custom post_types archive and override the default arguments with our custom order and any other parameters we wish to change.

Continue Reading →

WooCommerce Shopping Cart Donation

How to Add a Donation input field to WooCommerce cart page, Allowing customers to round their shopping cart to the nearest £ with a donation.

Continue Reading →

WooCommerce Shortcode to list Categories and Featured Products

WooCommerce comes with the ability to set featured products along with the option to display them as a list using a Wordpress shortcode. This article will show you how to add a new shortcode to WooCommerce to display a list of categories and the featured products within these categories.

Continue Reading →

Adventures into Buddypress

The idea of setting up a social network onto of WordPress CMS sounds like an excellent idea waiting to happen, so why haven’t I tried this yet.

Continue Reading →

Create Dynamic Custom WordPress Sidebars

This article will take you through creating custom wordpress sidebars for you wordpress theme, allowing you to create and set different sidebars for individual posts and pages.

Continue Reading →

JC Submenu WordPress Plugin Released

JC Submenu wordpress plugin Released, allowing you to dynamically populate wordpress menu items with recent posts, categories or child pages.

Continue Reading →

WordPress Search Results Page Modifications

A collection of useful snippets to help when customising a Wordpress Search Results Page.

Continue Reading →

Prefix WordPress post permalink without affecting custom post type permalinks

This snippet of code shows you how to change the structure of your WordPress URL’s from /your-post-slug to /blog/your-post-slug without changing other post types URL, by creating a rewrite rule and modifying the output of the_permalink() and get_permalink().

Continue Reading →