unable to embed custom javascript code into post
-
I’m not very savvy with this. i’ve built a website for the company i work for using wordpress, but they require that some code from a partner site is embedded somewhere on our site. the code is automatically generated on the partner site, and looks like this
<link rel="stylesheet" href="//contentsyndication.mitel.com/styles/mitel-embed.css"/> <!--[if lt IE 9]> <script src="//contentsyndication.mitel.com/scripts/es5-shim.js"></script> <![endif]--> <script src="//contentsyndication.mitel.com/scripts/vendor.js"></script> <script src="//contentsyndication.mitel.com/scripts/scripts.js"></script> <div id="ng-app" data-ng-app="mitelApp" class="main" ><div data-mitel-content ng-attr-base-url="https://www.mitel.com/" ng-attr-preferred_domain="en_mitel_usa" ng-attr-locale="en" ng-attr-categories="526,521,32221,7766" ng-attr-partner-id="39981" id="mitel-embed-hoiwiO" class="yui3-cssreset"> </div><span us-spinner ng-hide="loaded"></span></div>
i been reading up on the codex, and support forums, for hours, and have tried half a dozen ways to use wp_enqueue, and other methods. i’m almost certain that everything i tried i was doing wrong anyway, because this is way over my head at this point. the weird thing is, the code used to work. there was another version of the embed code from a few months prior, and all i did was cut and paste it into a text widget, or something and it worked. but now i have no idea. i really need to defer to some experts before i crack my skull open from beating my head against a wall.
thank you
- The topic ‘unable to embed custom javascript code into post’ is closed to new replies.