Your cart is currently empty!
Author: Kento
-
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…
-
WooCommerce Product Editing – Catalog Visibility “Hidden” is not what You might think
When you edit a product in WooCommerce, you will find the Catalog visibility setting in the Publish panel. This setting offers several choices: Shop and search results, Shop only, Search results only and Hidden. But, what do these mean? So Hidden doesn’t really hide the product, from what we know, it would rather appear as…
-
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…
-
The Hamburger Toilet Dilemma
When facing seemingly related problems, which aren’t. We can often see that people relate problems or tasks and their resolutions in cases where the problems are not related at all, nor should they. A common delusional strategy in engineering, development and design is to try to solve two independent problems at once, as if they…
-
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…
-
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…
-
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…