Category: WordPress

With 208 articles also related to:

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.

Continue reading

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.

Continue reading

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.

Continue reading

Aleš Sýkora wrote:

ACF flexible content: Oxygen builder examples

May 29, 2024 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…

Continue reading

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…

Continue reading

Aleš Sýkora wrote:

How to hide elements when pagination is active in WordPress

November 28, 2023 in Custom Code, WordPress

Hide elements on pagination pages but display them on first archive page. Easily with 3 lines of CSS.

Continue reading

Aleš Sýkora wrote:

Sticky shrinking header in Oxygen Builder

November 28, 2023 in Custom Code, Oxygen Builder, Plugins, WordPress

How to create a sticky header with section element and make it sticky and shrinking (height changing)?

Continue reading

Aleš Sýkora wrote:

WooCommerce: Change Shop (product archive) title and description

November 15, 2022 in Oxygen Builder, Plugins, WooCommerce, WordPress

When you are using Oxygen builder dynamic data and creating simple e-shop, you may want to create one template for your shop and your categories. There are many challenges like displaying all product categories and subcategories and more. One of them is displaying the archive title and description dynamically. If you use Oxygen’s dynamic data…

Continue reading

Aleš Sýkora wrote:

Set Tabs to closed on page load in Oxygen Builder

November 28, 2023 in Custom Code, Oxygen Builder, Plugins, WordPress

If you want to bypass the default state of tabs in Oxygen which is – first tab opened by default, then you need to use some jQuery. Don’t forget to change the .class-of-your-tabs-element and oxy-tabs-active-tab-class to your classes. You will find them with site inspector in browser.

Continue reading

Aleš Sýkora wrote:

WooCommerce: Get product gallery images

November 15, 2022 in Plugins, WooCommerce, WordPress

If you need to display WooCommerce product images programmatically, you can use these functions: TIP: This can be usable for custom gallery creation. For example with Swiper.js and fancybox.

Continue reading