Category: WordPress

With 208 articles also related to:

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:

Automate Sharing New WordPress Articles: Streamlining Social Media Publishing with ChatGPT and Make.com

December 6, 2023 in WordPress

You will learn how to use make.com to automatically post your blog articles on social media.

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:

Get only sticky posts in Bricks query builder

December 6, 2023 in Bricks Builder, Plugins, WordPress

If you need to query ONLY sticky (featured) WordPress posts with Bricks builder, here is how to do it. 1) You should know how it works in WP Query Here is how you construct WP Query to get sticky posts: 2) Use the Query editor in Bricks Builder Now you can use the knowledge in…

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

Aleš Sýkora wrote:

How to Customize the Home Link in WooCommerce Breadcrumbs

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

WooCommerce provides posibillity to display breadcrumbs. These are usable especially for navigation between shop page and archive categories. By default the first link is called Home and url is set to the homepage. What if we want to set it to the shop page? BeforeAfter WooCommerce breadcrumb filter usage WooCommerce provides a straightforward way to…

Continue reading

Aleš Sýkora wrote:

WooCommerce gallery in Bricks dynamic data

December 6, 2023 in Bricks Builder, Custom Code, Plugins, WooCommerce, WordPress

If you would like to use WooCommerce product gallery images in Bricks dynamic data – for example with Gallery module, then you find, that there is no option for that. The solution is simple – create custom function to get the images and then call it with echo. This can be used for Bricks carousel…

Continue reading