Category: Custom Code

With 208 articles also related to:

Aleš Sýkora wrote:

Fluent Forms: How to Detect and save Sender’s Website Language with Smartcode

February 8, 2024 in Custom Code, Fluent Forms, WordPress

You can get the website language code when user submit the Fluent Form with custom Smartcode.

Continue reading

Aleš Sýkora wrote:

Bricks Builder: ACF True/false in conditions

February 5, 2024 in Bricks Builder, Custom Code, Plugins, WordPress

If you want to use ACF True/False field in conditions for display/hide Bricks Builder modules you need to know something…

Continue reading

Aleš Sýkora wrote:

Get WooCommerce Checkout fields slugs

January 9, 2024 in Custom Code, WooCommerce, WordPress

Knowing checkout field slugs is crucial for customizing and optimizing your checkout process. It’s like having a secret key to unlock the full potential of your e-commerce site.

Continue reading

Aleš Sýkora wrote:

Display the content of a parent post in a child post using Bricks Builder

January 5, 2024 in Bricks Builder, Custom Code, WordPress

In this tutorial, you will learn, how to display content of parent post on it’s child post page. It is not a normal scenario, however, sometimes is needed.

Continue reading

Aleš Sýkora wrote:

Display Bricks element if is_page or is_archive or is_single

January 5, 2024 in Bricks Builder, Custom Code, Plugins, WordPress

Use global reusable templates and change the content with determitaion functions.

Continue reading

Aleš Sýkora wrote:

Display published post number in WordPress

December 6, 2023 in Custom Code, WordPress

To display a number of published posts you need a wp_count_posts php function.

Continue reading

Aleš Sýkora wrote:

How to Translate RSS Feeds with TranslatePress

December 6, 2023 in Custom Code, Plugins, WordPress

One of the challenges I found when using the TranslatePress plugin with Oxygen builder and Bricks builder is the translation of RSS feeds, which is not supported. Supported from TranslatePress – Multilingual (2.6.7+). EDIT: 06.12.2023 – The TranslatePress now support the RSS feeds, but only Titles are being translated, so this code works better. This…

Continue reading

Aleš Sýkora wrote:

Load more button for Bricks Gallery and Limiting the Number of Displayed Images

May 23, 2024 in Bricks Builder, Custom Code, Plugins, WordPress

If you like to hide your Bricks Builder gallery until user click on show more button, let’s do it! Step 1: Structuring the Gallery Ensure your gallery in Bricks Builder is structured with a specific class, like .product__gallery. By default, each image item has a consistent class .bricks-layout-item. Just ensure if it doesn’t changed in…

Continue reading

Aleš Sýkora wrote:

Change WooCommerce clear variations text

November 28, 2023 in Custom Code, Plugins, WooCommerce, WordPress

If you’re looking to customize the text of the “Reset Variations” link in WooCommerce, you’ve come to the right place. In this article, we’ll walk you through the process of changing the reset variations text using a simple code snippet. What is reset variations text and where is located? It’s the text, which appears after…

Continue reading

Aleš Sýkora wrote:

Bricks builder WooCommerce Queries

November 28, 2023 in Bricks Builder, Custom Code, Plugins, WooCommerce, WordPress

WooCommerce TOP selling products query in Bricks You need to use Query editor for this and add this code: WooCommerce Featured products query in Bricks To display featured products only, use this in your Query Loop: Retrieve WooCommerce “NEW” products added not more than 30 days ago Bricks builder currently lacks the Date Query, however,…

Continue reading