Wordpress
Show Random WooCommerce Products from a Category
A custom WooCommerce extension script, called via a shortcode, to show a list of random products from a category. This script was actually created for a client who uses the Avada theme. The Avada theme overrides most of the WooCommerce product display shortcodes with their own library so it makes certain parameters unavailable. This script…
Read MoreBest practices for adding jQuery or Javascript to WordPress
How to make sure your jQuery code is compatible with WordPress, theme’s and other plugins. WordPress installations these days are loaded with many plugins. To make sure that your custom plugin, that contains jQuery/Javascript, does not break other plugins it is important to wrap your code in their own private containers. Page functionality can break…
Read MoreHow to add shortcodes dynamically to a WordPress Post or Page
Here is a code example of how to add shortcodes dynamically to a WordPress Post or Page. Why do you want to do this? It happened that I had a request from a client to only show an introduction part of the description section and hide the rest with a “read more” feature. I found…
Read MoreHow to add extra features or content into Page Builders.
Add extra features or extra content to a page builder if that page builder “module” does not have that functionality you are looking for by the means of code via the WordPress’s shortcode API. Page builders are not my preferred tool and I would rather code templates than use a page builder. For the novice…
Read MoreWordPress Child Theme. Why you need it.
Having a WordPress child theme setup is one of the most important setups on your website, especially if it has WooCommerce installed. It prevents the loss of any custom changes done on your site with the next theme update. How does a child theme work? A child theme is a copy of your parent theme,…
Read MoreHosting, Why we recommend a manage VPS server.
Hosting request is one of the requests that come up with every new estimate that involves a website build, migration or if a site is slow. There is many hosts and many hosting packages to choose from. If you don’t have the technical experience this can become overwhelming quite fast. <h2>What is the best…
Read MoreSpeed up WP_Query requests to only return what is needed from the database
Here is a nice tip when you would like to speed up your database query for a given page. When you make a query for certain specific data in WordPress, WordPress by default will return ALL the data in an object. 95% of the time it is not required to return all the data from…
Read MoreBazaarvoice WordPress and WooCommerce Integration Setup
I have quite a bit of experience performing Bazaarvoice integration into a WordPress(custom posts articles, product catalog) & WooCommerce setup. I have done this setup for a couple of clients over the last two years. My code is dynamically loaded, following WordPress best practices, onto each page. Bazaarvoice will supply you with 2x Workbenches.: Staging…
Read MoreWhy I recommend WPEngine WordPress Hosting to customers
WPEngine is a service I became fond off that truly delivers and just works out of the box. I have used numerous hosting environments and companies over the years. Hosted some website myself for clients. WPEngine has crafted a hosting platform geared towards WordPress websites that delivers good results in the hosting space. It’s WordPress…
Read MoreAdd a custom variable in a Email or PDF template.
Ever wondered how those {{custom variables}} in email or pdf templates get replaced by a dynamic variable value? Just a quick run-down what a custom variable is. A custom variable is a placeholder where you want to add a username or email address dynamically to a template file or document. You might have noticed these predefined custom…
Read MoreWooCommerce Coupons Customer Info
In this tutorial I will show you how to include customers details (name or email address) next to WooCommerce Coupons under the admin interface in WooCommerce so that you can see who used coupons with a purchase.
Read MoreWooCommerce Stock availability text
In this tutorial I will show you how to change the WooCommerce Stock availability text and explain how it works. You will be able to change the text of “In Stock”, “Only ‘some quantity’ left” & “Out of stock” by following this simple how to guide.
Read MoreWordPress hooks 101
In this article I am going to explain WordPress hooks 101. WordPress hooks are areas inside code made available to you to add functionality or change values without physically changing the original software’s code. Code that is connected by hooks can also be disabled and replace by other code. With the use of hooks your code…
Read MoreBest practices updating WordPress, WooCommerce & Plugins.
In this guide I will explain to you how to use best practises in updating WordPress, WooCommerce & Plugins so that you don’t have a dilemma on your hands if you have a website that operates live and crashed because of a update.
Read MoreWordPress or WooCommerce crashed
So your are currently staring at a blank screen / page of death and can’t understand what is going on with WordPress or WooCommerce? Well for starters you did not lose information or any settings. What happened is that WordPress is upset about something, something is causing WordPress to crash.
Read More