Skip to content
Pricing
About
FAQs
Docs
Forum
News
Contact
Pricing
Support
Tutorials
FAQS
Forum
Contact
About
News
(Empty)
Your cart is empty
My Account
My Downloads
My Profile
Logout
Support centre
«
Learn Flexbox in Under 15 minutes
Microthemer & Flexbox Video
Alternating columns (3-2) using CSS grid and nth-child formulas
»
How to add custom JavaScript via Microthemer
Published:
April 16, 2020
By
Sebastian
How to add custom JavaScript via Microthemer
To summarise the above video:
Go to
View > Code editor > JS
to enter JavaScript code
The code you enter will be added to an external JavaScript file:
wp-content/micro-themes/active-scripts.js
Do not enter script tags, as these are not necessary when adding code to a JavaScript file
You can use jQuery by adding the
document.ready function
.
You can load native WordPress JS libraries via
General > JS libraries
Use Ctrl + S to save your JavaScript and reload the page
Microthemer will report any JS errors at the top right of the screen
«
Learn Flexbox in Under 15 minutes
Microthemer & Flexbox Video
Alternating columns (3-2) using CSS grid and nth-child formulas
»
Support
Tutorials
FAQs
Forum
Feedback Survey
Contact
Close
Free month!
NEW - Transforms & filters
How to add custom JavaScript via Microthemer
To summarise the above video: