Add Javascript to Post or Page

#1. Add a new Custom Field (say js) and paste the JavaScript widget into the Value field.

WordPress Custom Fields

#2. Switch to the HTML mode in your WordPress editor and insert in a new line. Save, publish and WordPress will substitute that shortcode with the actual JavaScript code. That’s it.

Shortcode for JavaScript


Thanks to the original posters!

What’s Next

Our Work

Check out some recent work we’re proud of.

Our Blog

Read our latest ideas about tech, features, messaging, and more.

Get in Touch

Want to discuss a project? Hit us up, we’d love to chat!