Skip to content
Pricing
Docs
FAQs
Forum
Contact
Pricing
Docs
Help
FAQs
Forum
Feedback
Contact
My Downloads
My Profile
Logout
«
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
FAQs
Forum
Feedback
Contact
Close
How to add custom JavaScript via Microthemer
To summarise the above video: