Savvy Blog | Latest Posts

Improving the Number of Database Queries in ACF

Sometimes the functions get_field and the_field of the Advanced Custom Fields plugin are sufficient for pages with a few custom fields. However, for pages with many fields or very complex fields (such as those in Repeater or Flexible Fields), we [...]

Creating a mailing list with the Mailchimp for WordPress

Since I use Relevanssi (feel free to search the blog for the word), I have the option to conveniently view which searches were made on the sub-blog. It seems that many people are searching for the phrase “distribution list” and [...]

Create an Exit Intent Popup in WordPress without Plugin

The term “exit intent popup” has gained popularity in recent years, especially on WordPress, E-commerce websites and digital stores in particular. In essence, an exit intent popup uses JavaScript to track the user’s mouse movements, so that when the user [...]

Conversion Tracking with Google Analytics 4 (Goals)

Conversion tracking in Google Analytics (also known as Goals) can be crucial for any significant activity on your important business website. For example, form submissions, newsletter sign-ups, or even product purchases. In the old version of Google Analytics (Universal Analytics), [...]

How to Connect Analytics 4 to Google Ads

If you are using Google Analytics, then you already know that the tool provides you with a lot of information about user interaction with the site. If you want to use the information that Analytics provides to better track the [...]

A Glance at CSS Mix Blend Modes

According to Wikipedia, merging (or “blending modes”) in digital image editing and computer graphics is used to determine how two layers blend together. In most applications, the default blending mode is simply to hide the bottom layer by covering it [...]

Passing Variables using get_template_part in WordPress

Similar to the standard include() or require() PHP functions, WordPress provides its own function for loading templates (PHP files), called get_template_part(). As its name suggests, it is designed to call parts of templates in WordPress sites. While using the get_template_part() [...]

How to Freeze the Activity of E-Commerce Site without Harming SEO

The COVID-19 crisis has forced certain businesses and e-commerce websites to freeze their activities online due to difficulties in supplying goods. If you manage a commerce website and find yourself in a similar situation, there are several options available to [...]

Optimization WordPress Configuration through wp-config.php

WordPress users are familiar with the wp-config.php file as the one used to set up the database information, such as the database name, the username, password, and its location (as well as table prefixes, security keys, and language). However, many [...]

Create an Elements Filter with Isotope Library

In this post, we will show how to create a filter with Isotope that allows filtering elements based on any attribute, in our case, we will enable filtering posts by taxonomy. To create the filter we gonna use Isotope which [...]

Adding Products to the Shopping Cart Through a Link

Recently, a customer approached me with a request to create a dynamic scenario on a WordPress site where clicking a button would lead the user directly to the Checkout page, which already contains a number of products in the shopping [...]