Your cart is currently empty!
Category: WordPress
-
PHP’s isset(). Semantics? Meh.
While I was working on the definition of the parameter set for a new WordPress REST API controller, I came across something odd. Fire up PHP’s interactive shell and see for yourself: Well to be honest, when I ask you whether something is set, I expect you to tell me if it is set, whatever…
-
How to customize the WooCommerce Product Catalog Template with Search and Filter Blocks
In this tutorial, you will learn how to customize the Product Catalog template of your WooCommerce shop. This default WooCommerce template uses the Product Catalog variation of the Product Collection block and is used for the Shop page. We extend the template with several blocks that allow to search and filter the products, making it…
-
WooCommerce Product Search – Building a Shop Page with Blocks
In this tutorial, you will learn how to compose a new Shop page using the exclusive blocks provided by the WooCommerce Product Search extension. The search engine is available exclusively on Woo.com and is an essential extension for every shop powered by WooCommerce. For this tutorial, we are using the Twenty Twenty-Four theme. As a…
-
How to install Redis on Debian or Ubuntu
In this quick guide, you will install a free Redis server in what takes just about a minute. After you have followed the steps, you will have your Redis server instance running as a service on your host. You can use it to power the cache of your WordPress site with appropriate plugins that support…
-
How to install Memcached on Debian or Ubuntu
This brief tutorial will guide you through the steps to quickly install a free Memcached server on a Debian or Ubuntu host. After you have gone through the steps, you will have a Memcached server running as a service and you can use it to power your WordPress site with plugins that support it. You…
-
WooCommerce Product Search Filters and Divi Product Pages
One of the supported features of the Divi WooCommerce Products module is to render products from a specific category. This allows you to create uniquely designed category pages for each one of your shop categories. For example, let’s assume that we run an apparel shop and have created a dedicated page on Divi Builder. The…
-
Small Tools Big
We had a recent request to put out an update for a free tool for WordPress that has a small user base. The tool is really useful but is not well-known. What it does is to substitute keywords in your pages with links – it does this automatically, based on a set of keywords and…
-
How Contributors can protect their posts with Groups for WordPress
In WordPress, the user permissions are defined by Roles and their deriving Capabilities. This Role-based model allows the Administrator – which is also a role – to determine the privileges assigned to each user. These privileges, in turn, are expressed through capabilities where each one of them determines a specific permission for the user. Furthermore,…
-
WordPress and WooCommerce Compatibility Requirements – June 2023
As of this month, we are updating relevant WordPress plugins and WooCommerce extensions to meet the following minimum version requirements and version compatibilities: Our first new update to cover these is WooCommerce Product Search 4.14.0, which has been released today. We encourage all our users to keep their installations up-to-date, to assure the best of…
-
WordPress Database Collation Troubles
If you ever come across this kind of error message in your WordPress debug.log (assuming that you have debugging enabled) … … then you have a query that involves tables which have clashing collations. In my case, one table used utf8mb4_unicode_520_ci for a row while a joined table used utf8mb4_unicode_ci for the row on which…
-
The unsettling Truth about the Global Unset
In PHP, there is a pitfall when using unset on a global variable within the scope of a function or method. When referred to using the global keyword within a function, unset will not destroy the global variable within the global scope. The output produced (1) by the code above is not a warning, but:…
-
1-Click Memberships with Groups for WordPress
The Groups plugin allows users to become a member of a group by simply clicking a button. It provides a convenient shortcode for that purpose. At the end of this article, we will also look at alternatives to shortcodes that you can use in a template. Let’s understand a simple use case where such memberships…
-
Free Lunch Optimizations
Looking at a recent support request which involves issues with an “optimization” plugin, it reminds me of why we assertively recommend to avoid using any generic optimization plugins … like the plague! From lots of years of experience in providing support for our tools, there are countless cases of issues caused by “optimization plugins”. Experience…