How to declare WooCommerce support in your theme

Received a WooCommerce help SOS through our contact form, so here is the simple answer to a question we’ve been asked more than once! Declaring WooCommerce theme support is really important after WooCommerce 3.3.0 – if your theme does not contain this in functions.php, then there’s a good chance any woocommerce templates you add to …

Read more

Find out Apache, MySQL, PHP (etc) versions via Plesk

Are you running Plesk on your dedicated server or VPS? Do you want or need to know what version of MySQL, PHP, Apache – or anything else – your box is running, to relate to a client or stakeholder? If you would like to find your Apache version and you do not have Plesk, click …

Read more

Where to put Snippets in your WordPress Functions.php File

Every so often, on the WordPress.org forum, or some blog comments thread, or on Twitter, or some other place, we see helpful open source practitioners posting snippets to be added to “the end” your theme’s (child theme, child theme, please use a child theme) functions.php file. Then we hear of someone who has done exactly …

Read more

Code to hide content on the front page of WordPress

Another day, another little WordPress tutorial for you guys. This time, I’m posting a how to for those of you who have rolled back the old sleeves, and are actually digging into some PHP to make or edit your WordPress template. Now it should go without saying that if you are making modifications to your …

Read more

How to Make WordPress Auto-Thumbnails Work

If you’re recently installed WordPress onto a new server (we do this a lot on Amazon EC2 instances of varying sizes) and you notice that your image uploads aren’t auto-thumbnailing (when WordPress “crunches” your images into “thumbnail” “medium” and “large” sizes for use throughout your website) then chances are your server doesn’t have the GD …

Read more

Installing APC on Amazon EC2 Instance

Some time ago, I wrote a short blog post explaining how to go about installing XCache on an Amazon EC2 instance to help with opcode caching. More recently, we’ve begun using APC for similar reasons, with excellent results, including on Amazon EC2 Micro instances, which can be used under their free usage tier to run …

Read more

PHP 7.0 Reaches End of Life on 3 December 2018 😱

If you, like us, were thinking Christmas comes round faster and faster each year, then you’ll no doubt think it was only yesterday that the awesome improvements PHP 7.0 brought along with it hit our servers and started powering up our WordPress sites way better than PHP 5.6, which was itself cool for its era.

Read more

How to Use Shortcodes in your WordPress Theme Files

Got a plugin that does something really nifty, and turns out really good results in your WordPress posts and pages? Want to use that shortcode in your theme files, somewhere, outside the loop, and not sure how to do that? This WordPress tutorial will tell you how to get this done. Thankfully, as with so …

Read more

WordPress Extensions

We often install the Open source (free, and developed by a community of programmers, rather than one, paid, team) Content Management System (CMS), WordPress. WordPress was originally a blogging platform developed by Matt Mullenweg, but, in its short history, the software, which runs on (also Open source) PHP and MySQL, has developed into far more …

Read more