Jump to content


This topic is now archived and is closed to further replies.


Add Script to a section on some pages

Recommended Posts


I want to add the following script code to a few on my pages. When I do DMS errors out and will not load.


<script src="http://cmc-td.com/button/boxlaunch.php?urlid=22253"></script>


I have attemped to put it in a Media box, text box, PL Nextbox and WP post box.


I had to remove it.


I am on the latest versions of DMS2, DMS Workspace, and Wordpress.

Share this post

Link to post
Share on other sites



The MediaBox or any section will not support JavaScript as it is not HTML or text. Therefore, if you wish to load a script on a specific pages, you will need to use a hook via a child themes functions.php file and use the WordPress enqueue function and is_page() function.

See these pages for more information:





Please search our forums, before posting!

Share this post

Link to post
Share on other sites