In this documentation we’re setting up Custom JS inside ToolPress. ToolPress brings multiple tools together in one place, and adding your own JavaScript gives you control over interactive behavior, dynamic features, and custom functionality. The setup is simple once you know where each option is located.
Prerequisites for Custom JS #
Before adding Custom HTML through ToolPress, make sure you have the following in place:
- Basic Understanding of JavaScript – Helpful for handling interactions, functions, and dynamic behavior.
- WordPress Installed – A functioning WordPress site to apply your scripts.
- ToolPress Plugin Installed and Activated – Ideally running the latest version for smooth compatibility.
- Admin Access – Required to open ToolPress settings and add or edit your JS code.
Access ToolPress in WordPress #
- From the sidebar, click ToolPress → Tools (or the relevant section to add a new tool).
- Log in to your WordPress admin dashboard.

In the list of tools, select Custom JS.

Prepare Your Custom JS #
Before adding anything into ToolPress, prepare your js code.
Example test JS. #
<!-- ToolPress JS Test -->
<script>
(function(){
console.log('ToolPress JS Test: script executed at', new Date().toISOString());
var el = document.createElement('div');
el.id = 'tp-js-test';
el.textContent = 'ToolPress JS Test — script loaded';
el.style.cssText = 'background:#e6ffef;border:1px solid #b8f0c4;padding:8px;text-align:center';
document.documentElement.insertBefore(el, document.body);
})();
</script>
Add Your JS Code #
Paste your JS directly into the Custom JS editor field. Toolpress gives you the options to add the JS code into your header and footer both. So i selected the header option.

Now click on update tool.

As you can see it is working perfectly.

Custom JS lets you add interactivity, widgets, and advanced behavior to your site, and ToolPress makes it simple to inject and manage scripts where they’re needed.
If you have any questions or need help along the way, feel free to contact us through our support page.