Category: Oxygen Builder

With articles also related to:

Aleš Sýkora wrote:

Disable Gutenberg Blocks and Pattern library

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

When I use Oxygen Builder to create website for customer, I want them to edit the content in Gutenberg editor, but I don’t want to give them a “FULL POWER” of Gutenberg editor. What I do every time? Disable bunch of unused blocks and completely disable the patterns library. I also disable block styles and…

Continue reading

Aleš Sýkora wrote:

Global $product cause Oxygen does not refresh CSS

September 20, 2022 in Custom Code, Oxygen Builder, Plugins, WordPress

The issue is related to the custom PHP functions being used the Repeaters in WooCommerce templates. Within the custom functions, after you call global $product, you need to wrap the rest of the function in an if($product) { …do stuff here } statement. This will prevent the AJAX errors. Also do not use Global $product…

Continue reading

Aleš Sýkora wrote:

Add Accessibility to the Oxygen Tabs

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

This snippet is currently under development. I found it working only in MS Edge browser. If you want to use Tabs element and make your site accessible with keyboard, then you should be worried about this element. By default, you cannot make this element accessible by keyboard. But no worries, I gotchu! This code made…

Continue reading

Aleš Sýkora wrote:

Sticky Post badge in Oxygen builder Repeater

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

If you want to display badge over your posts displayed within Oxygen Builder Repeater element in WordPress, than I hope I have a solution for you. Set the post to be sticky (featured) in the Gutenberg editor: Add Sticky (Featured) post badge to repeater Add a div to your post container inside the repeater. Then…

Continue reading

Aleš Sýkora wrote:

Add WooCommerce Sold Out Badge in Oxygen Builder

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

Learn how to add Sold Out badge within WooCommerce Oxygen integration.

Continue reading

Aleš Sýkora wrote:

Inline SVG bottom padding in Oxygen Code Block

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

If you use the SVG file inline in Oxygen Builder Code Block element, you may encounter a little padding at the bottom of your code block. To fix this issue, just add this to your custom CSS stylesheet: Your problem should be fixed :-)

Continue reading

Aleš Sýkora wrote:

WP Grid Builder Map Facet with Oxygen Repeater element and Custom Map Marker content

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

Build your own Map which displays your posts and filter with geolocation.

Continue reading

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

August 18, 2022 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. Example…

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