BLACK FRIDAY: 50% OFF all Pro plans Code: BLACKFRIDAY50
Pro from $10 a year or $30 lifetime, no code needed: Code: BLACKFRIDAY50
Ends Cyber Monday, 30 Nov. Lock in the price today. Code: BLACKFRIDAY50
Get 50% Off
Pro feature

Custom Code for Elementor Pro

Add CSS, JavaScript and tracking codes without a child theme.

Overview

What Custom Code does

Custom Code in Bright Addons Pro adds CSS, JavaScript or HTML snippets to the head, the start of the body or the footer. Show each snippet on the whole site, on the home page, on chosen pages or on chosen post types, and for everyone or only logged in or logged out visitors.

Features

What it can do

  • CSS, JavaScript and HTML snippets with a code editor that colors the code.

  • Places: head, start of the body and footer.

  • Show on the whole site, the home page, chosen pages, chosen post types or everywhere except chosen pages.

  • For everyone, logged out visitors only or logged in users only.

  • An order number for snippets in the same place.

  • Publish to switch a snippet on, save as a draft to switch it off.

  • Snippets never run in the WordPress admin or the Elementor editor.

  • Only users who may post unfiltered HTML can save code.

Use cases

When to use it

Tracking codes

Add Google Analytics, a Meta Pixel or a chat script to every page.

Small CSS fixes

Change one style site wide without a child theme.

Landing page scripts

Load a conversion script only on the thank you page.

Setup

How to set it up

What you need: Bright Addons Pro.

  1. Go to Bright Addons Pro > Custom Code and click Add Snippet.

  2. Type a name, pick the Code type and the Place.

  3. Choose Show on and Visitors.

  4. Paste the code. CSS and JavaScript are wrapped in their tags for you.

  5. Click Publish to switch it on.

FAQ

Questions and answers

Can a snippet break the editor?

No. Snippets never run in the WordPress admin or in the Elementor editor.

Who can add code?

Administrators who may post unfiltered HTML. Other users cannot save code.

How do I switch a snippet off?

Save it as a draft, or move it to the trash.

Bright Addons Pro

Get Custom Code with Bright Addons Pro

Bright Addons Pro has 97 Pro widgets plus all 53 free widgets, 10 extensions, a Theme Builder and 32 dynamic tags. From $10 a year, with a 14-day money-back guarantee.