Latest news from Great-tit

I firmly believe that sharing knowledge is the key to mutual growth and development. Each article and guide I write is the result of countless hours of intense research and the unwavering passion I pour into it. Your support enables me to continue creating high-quality, informative, and engaging WordPress resources that empower you on your journey.

Published articles related to:

Aleš Sýkora wrote:

Swiper: Prevent single slide swipe with loop enabled

December 16, 2022 in Custom Code, WordPress / 1 comments

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 / 0 comments

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 / 2 comments

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 / 2 comments

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 / 0 comments

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 / 0 comments

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

Aleš Sýkora wrote:

ACF nested repeaters as document library

November 28, 2023 in ACF, Oxygen Builder, Plugins, WordPress / 0 comments

If you want to prepare a Documents page for your website, you may consider creating it with ACF Pro repeaters. I Use these three ACF repeaters: Main repeater (slug: docs-group) = Document category name (for example – manuals) with classic editor to add some description to categorySecondary repeater (slug: documents) = Document Subcategory name (for…

Continue reading

Aleš Sýkora wrote:

WooCommerce Display Price wih and without Tax

November 28, 2023 in Plugins, WooCommerce, WordPress / 4 comments

This is really nice trick how to achieve your WooCommerce price to display price with and without VAT. How to do that? You need to setup your main price. If it should be without VAT or with. You must set this up in WooCommerce settings > General. Then you need to go to the WooCommerce…

Continue reading

Aleš Sýkora wrote:

Enable WordPress Theme when using Oxygen Builder

November 28, 2023 in Custom Code, Gutenberg, Oxygen Builder, Plugins, WordPress / 0 comments

I found this 3 remove filter functions very useful, when you need to use the theme.json and other files to customize the Gutenberg blocks and still use the Oxygen Builder. I just put these lines in code snippets plugin and activate. My option for code snippets plugin is Advanced scripts. You can customize Gutenberg in…

Continue reading

Aleš Sýkora wrote:

ACF Local JSON with Oxygen Builder

November 28, 2023 in ACF, Custom Code, Oxygen Builder, Plugins, WordPress / 0 comments

Would you like to speed up your page? If you use Advanced Custom Fields plguin, you may try the local JSON. Local JSON is a new feature added in version 5 which saves field group and field settings as .json files within your theme. The idea is similar to caching, and both dramatically speeds up…

Continue reading