Category: WordPress
With articles also related to:
Aleš Sýkora wrote:
How to Retrieve ACF Field from a Group field within an Option Page
November 28, 2023 in ACF, Custom Code, Plugins, WordPress
If you want to use ACF fields data from option page – it’s easy. You can just use get_field(‘field_slug’,’option’) unless you wrap the field in the group field. Let’s take a look how to get the field data. Understanding the Structure of Advanced Custom Fields Before we dive into the specifics, let’s take a moment…
Aleš Sýkora wrote:
How to get RankMath primary WooCommerce product category
January 9, 2024 in Custom Code, Plugins, RankMath SEO, WooCommerce, WordPress
Learn how to retrieve and display the primary category of a product in WooCommerce using the RankMath plugin. WooCommerce lacks a built-in feature to assign a primary category, but RankMath fills this gap. With the provided code snippet, you can retrieve the primary category ID and output the category link and name. Improve your SEO…
Aleš Sýkora wrote:
Separate WooCommerce Categories and products
November 28, 2023 in Custom Code, Plugins, Shoptimizer, Themes, WooCommerce, WordPress
When you use default WooCommerce archives, you may like to display child categories and products on category page. When you do it like that, you will see that flex columns and rows has been created, and products starts right after last category, on same row. I would like to have my subcategories separated from products…
Aleš Sýkora wrote:
How to check if product category has child terms on term archive page?
November 28, 2023 in Bricks Builder, Custom Code, Plugins, WordPress
If you want to display or hide some content on WooCommerce product category archive page based on if it has child terms, then you will need to check if current category archive term, has a childs.
Aleš Sýkora wrote:
FIX: Clip-path leaves a strange line on the element
November 28, 2023 in WordPress
Fix the strange line on div which use clip-path property with CSS.
Aleš Sýkora wrote:
Fixed background white gap fix on Android/iOS with CSS
March 6, 2023 in Custom Code, WordPress
Fix the white gap under fixed background on mobile devices.
Aleš Sýkora wrote:
FIX video background autoplay in iOS/MAC low power mode
January 10, 2023 in Custom Code, Oxygen Builder, Plugins, WordPress
Usable with Oxygen builder, Webflow and others.
Aleš Sýkora wrote:
Swiper.js ACF Gallery slider
November 28, 2023 in ACF, Custom Code, Oxygen Builder, Plugins, WordPress
Create Swiper image slider with ACF gallery field data.
Aleš Sýkora wrote:
ACF flexible content: Oxygen builder examples
January 6, 2023 in ACF, Custom Code, Oxygen Builder, Plugins, WordPress
Here are some code examples really useful when using ACF flexible content with Oxygen. The main workflow of using ACF flexible content with Oxygen is simple. Here are the main rules: How to work with ACF flexible content and Oxygen? There is a process: Tips for ACF Flexible content and Oxygen modules Oxygen Image module…
Aleš Sýkora wrote:
Swiper: Prevent single slide swipe with loop enabled
December 16, 2022 in Custom Code, WordPress
If you want to use Swiper slider and you have a situation where you want to disable sliding if there is only one slide, but use infinite loop when there is more than one slide, you cannot achieve it only with Swiper settings. It looks like you can with watchOverflow:true and loop:true… But those two…