Category: Plugins

With 209 articles also related to:

Aleš Sýkora wrote:

Display post categories without links in Oxygen builder

August 25, 2022 in Custom Code, Oxygen Builder, Plugins, WordPress

If you want display post categories without the links in repeater or in post page without link to the category archive, you can use the code below. If you want to change the separator, change this: To whatever you want… for example: If you need to use this code on more than one page, I…

Continue reading

Aleš Sýkora wrote:

Display Oxygen Reusable part or template with PHP code

May 29, 2024 in Custom Code, Oxygen Builder, Plugins, WordPress

If you want to have your website semantic and use lot of custom code, sometimes you need to add Oxygen part into your custom PHP (for example in code block). How to display Oxygen Parts with PHP? Just use this small echo code and change the 478 to your template or reusable part ID. UPDATE…

Continue reading

Aleš Sýkora wrote:

Create category toggle menu with Summary and Details HTML tags

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

Today I will show you a great tip for really simple navigation menu. This menu can be used in template which is used for Product Archive and also for product category archives. I build it for one submenu level only. How does it looks? On Shop page Only parent categories are visible. You can open…

Continue reading

Aleš Sýkora wrote:

Oxygen 4.0 – fix Swiper.js slider

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

After Oxygen 4.0 update you may encounter problem with Swiper slider used within repeater. To fix this problem, add this CSS styles. The Swiper.js repeater problem after Oxygen 4.0 Fix it back to normal appearance What to do? Just add a little CSS to make it working like normal: I am using the class .swiper-wrapper…

Continue reading

Aleš Sýkora wrote:

Check if current post has child in WordPress

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

When you are in situation, where you want to check if current post has a child posts, then you need to add custom function. It’s the easiest way how to do it. Check if post has childs programatically You can add this function to your code snippets plugin or custom funcionality plugin (I am using…

Continue reading

Aleš Sýkora wrote:

Display post tags without links in Oxygen builder

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

If you add the post_tag by dynamic data option in text block – for example in post or in repeater – then it displays the tag as a link to the tag’s archive. You can do the same to display categories without links in Oxygen builder. But what if you don’t want the tag archive…

Continue reading

Aleš Sýkora wrote:

WP Rocket – Delay JavaScript execution with Oxygen and OxyExtras

November 28, 2023 in Oxygen Builder, Plugins, WordPress, WP Rocket

When using WP Rocket, you may speed up your site with delaying .js execution. You can encounter some issues when using it with Oxygen builder. Then you need to exclude some scripts from delaying. When using Oxygen Pro Menu element When using OxyExtras Pro Media player When using WooCommerce Stripe plugin

Continue reading

Aleš Sýkora wrote:

ACF repeater slider with Splide.js and Oxygen Builder

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

If you want to create custom slider, you may take some 3rd party js library. I will use the Splide.js in this tutorial, but you can also use flickity or other. I will also use Oxygen WordPress builder, but this can be done with every theme. Create ACF repeater field Install ACF and create Field…

Continue reading

Aleš Sýkora wrote:

Oxygen Pro Menu Vertical divider between items

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

If you want to add a vertical dividers between menu items, it’s simple. Just add the border-right to each (but not last) item in the menu. You can use and modify this code to add the vertical lines: Change the .pro-menu-class to your class: And customize the border-right values – width, type of border and…

Continue reading

Aleš Sýkora wrote:

Load Gutenberg Styles only if page has blocks

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

Trying to speed up your site? You may want to disable Gutenberg block style libraries on pages and posts which doesn’t have any blocks. Add this code to your custom snippets and test it. It should disable loading of Gutenberg styles when not needed. It works with Oxygen Builder and Advanced scripts – I have…

Continue reading