Category: Custom Code

With 208 articles also related to:

Aleš Sýkora wrote:

Oxygen Repeater Pagination not working on homepage

July 20, 2021 in Custom Code, Oxygen Builder, Plugins, WordPress

When you use repeater on static front-page of your WordPress site and you also wants to use pagination – it doesn’t work at all. It stops at /page/2 and never display /page/3. It still repeat the second page. However – it looks like Oxygen bug, but it is not. As you can see: https://codex.wordpress.org/Pagination#static_front_page. To…

Continue reading

Aleš Sýkora wrote:

Oxygen Front-end styles in Gutenberg

July 16, 2021 in Custom Code, Oxygen Builder, Plugins, WordPress

You may want to display the content when editing in Gutenberg editor with your frontend Oxygen Styles included. It is possible with But the challenge is that Oxygen is creating CSS files for all your Custom Stylesheets you made inside the editor. So you propably want to include them all. That’s possible with PHP function…

Continue reading

Aleš Sýkora wrote:

ACF Masonry Left to right ordered Gallery in Oxygen Builder /w Colcade

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

Would you like to use ACF masonry gallery with left to right flow of images? Good, let’s do that! But at first, why not to use standard Gallery module in Oxygen Builder? The problem with Oxygen Masonry gallery The main problem is ordering of images. Standard masonry layout is made by Flexbox columns. So Your…

Continue reading

Aleš Sýkora wrote:

Particles.js in Oxygen Builder

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

Particles.js is a lightweight JavaScript library for creating particles. Particles are used to create interactive backgrounds that respond to the mouse movements. Do you want to use it on you Oxygen website? Okay, no problem. You just need to embed the particles.js script – I will do that with the Advanced scripts plugin – and…

Continue reading

Aleš Sýkora wrote:

Custom Taxonomy Term Archive Query in Oxygen Builder

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

If you want to use advanced query builder and build the template for All taxonomy terms of one taxonomy and do not use the default query in repeater, you can do that with advanced query builder: Post_type = post type slugtax_query = arraytaxonomy = taxonomy slugfield = slugterms = [oxygen data=”terms” taxonomy=”taxonomy-slug”](optional) no_found_rows = true(optional)…

Continue reading

Aleš Sýkora wrote:

Use global colours from Oxygen Builder in CSS

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

You have defined your Global colors in Oxygen Builder and now you need use them in CSS styles? No Problem! You can use your global colors within CSS styles. Just open Settings > Global Styles > Colors, click on your colour group and you will see your colors with assigned ID’s to each of them.…

Continue reading

Aleš Sýkora wrote:

Get homepage link as a logo link in Oxygen Builder

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

Wrap your website’s logo in link wrapper and use this PHP function inside, to create the home link.

Continue reading

Aleš Sýkora wrote:

WordPress term list without links

July 1, 2021 in Custom Code, WordPress

If you use the_terms for list of posts taxonomy terms, then you get the list with automatically added links. Sometimes you do not need the links. Then you can use the strip_tags. Get term list with links Get term list without links Get the terms custom output

Continue reading

Aleš Sýkora wrote:

Current Year for Copyright in WordPress and Oxygen Builder

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

Today I will show you the easiest way to add a year to your Copyright information. The problem is that you don’t want to change the date every year. It’s easier to get current year with PHP. Use the PHP function date() with format Y to get current year and it will change automatically after…

Continue reading

Aleš Sýkora wrote:

Fluent Forms maps input (usable with Toolset Maps too)

November 28, 2023 in Custom Code, Fluent Forms, Plugins, Toolset, WordPress

UPDATE! Automatic geolocation has been added to the map :). Enjoy! If you want to add map field with click to put marker function and save the GPS data, you can use the Google Maps API with Fluent Forms. You will need Google Maps API Key and plugin for custom code snippets (you can also…

Continue reading