

Preview your Tailwind type scale on a WordPress page: every text-* class with its class name and the real font size in px and rem.

Show the current screen width in a corner of your WordPress front end while you are logged in, to check breakpoints. Visitors never get the code.

Create ACF field group and assign it to posts. Create field label and name it color and choose field type Color picker. Assign color to each post Create a repeater in Oxygen builder Select first child of Repeater Add class to that element “data-color-bg” Go to advanced > attributes > Add attribute. First field needs…

Print Google Tag Manager or any other script right after the opening body tag in WordPress with the wp_body_open hook, no theme edits.

Shrink the WordPress header logo when the visitor scrolls, with a small plain JavaScript class toggle and a CSS transition. No jQuery.

This is taken form Facebook conversation in the Official Oxygen Builder group. Follow up on the conversation.

if you do not use it. Keep add elements sidebar clean. Solution to hide If you are using Scripts Organizer download code snippet Solution to Disabled Thanks to Suppa Mike for providing second solution.

Use JavaScript to hide element for one year. It’s perfect for banners such as cookie. You can easily change parameters and change it from 365 days to what ever you need. Your element need to have class of “element-dismiss” and you need to place button element inside

Remove the Gutenberg block library CSS and global styles from the WordPress front end on classic sites, with a config for what to keep.

This can be placed in Oxygen code block or you can make it as short-code. It will display excerpt if user is not logged in or didn’t purchased specific product. Replace XXXXX with your product ID on line 9

Add a Copy button to every code block on your WordPress site with plain CSS and JavaScript: Clipboard API, http fallback, keyboard accessible.

Oxygen does not support WordPress wp_body_open() and if you need to integrate Google Tag manager it requires two code parts. 1st part is Inside Head and 2nd is inside Body. Lucky Oxygen provides hook that is called: ct_before_builder. If you are using Scripts Organizer , Code Snippets or any other functionality plugins this script will…

Iconoir is one of the biggest open source libraries with currently 1007 SVG Icons. Really nice designed outline icons set done by Luca Burgio. Original Icons are exported as outlines. I have converted outline to fill and used IcoMoon App to make it as icon set ready for Oxygen. Download them and enjoy! Thanks to…

Run JavaScript once on page load and again on every resize in WordPress, throttled to one run per frame and without jQuery.

Fade in WordPress headings and other elements with GSAP autoAlpha, loaded from a pinned CDN, visible without JavaScript and with reduced motion.

Number cards, columns or any repeated items in WordPress automatically with a CSS counter: add one class to the block, no jQuery needed.

Add a class to any WordPress element after the visitor scrolls a set number of pixels, with plain JavaScript and no jQuery.

Reload a WordPress page and land at the same scroll position, handy while you style sections below the fold or preview Scripts Organizer changes.
3rd party plugins actions admin admin bar archive block-themes block editor Blocks block styles block theme build core CSS custom post types debugging development gutenberg hook hooks Image img javascript load styles media Must Have npm options Oxygen performance php plugins production react rest api scripts organizer security single product theme.json Tips updates WooCommerce wordpress wp-cli wp-cron WP Admin