Title: Custom Javascript is not Allowed / Taboola code
Last modified: January 11, 2020

---

# Custom Javascript is not Allowed / Taboola code

 *  Resolved [robsabo10](https://wordpress.org/support/users/robsabo10/)
 * (@robsabo10)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/custom-javascript-is-not-allowed-taboola-code/)
 * It makes no sense. After updating the Newspaper Theme to its latest, we’re getting“
   Custom Javascript is not allowed.”
 * I pinpointed it to the TABOOLA GOOGLE AMP code (advertising) as the culprit. 
   Now, there has never been a problem with this code. It’s possible this falls 
   squarely on the shoulders of Taboola, somehow, but it’s also possible something
   through WP for AMP or the Newspaper Theme (through WP for AMP) is creating this
   issue specifically through Taboola’s AMP code. Obviously, it could be something
   else, as well.
 * An ‘amp-embed’ line is what’s highlighted, more specifically, on the validator.
 * I reached out to Taboola as well, but wanted to drop this here just in case somebody
   else saw the same thing or knows where I should be looking to solve this thing.
   Thanks.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fcustom-javascript-is-not-allowed-taboola-code%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Thread Starter [robsabo10](https://wordpress.org/support/users/robsabo10/)
 * (@robsabo10)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/custom-javascript-is-not-allowed-taboola-code/#post-12315675)
 * ***FIXED, via the newest/latest AMP for WP update.
 *  Plugin Author [Ahmed Kaludi](https://wordpress.org/support/users/ahmedkaludi/)
 * (@ahmedkaludi)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/custom-javascript-is-not-allowed-taboola-code/#post-12316723)
 * This issue was fixed in 1.0.12

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Custom Javascript is not Allowed / Taboola code’ is closed to new replies.

 * ![](https://ps.w.org/accelerated-mobile-pages/assets/icon-256x256.png?rev=1693616)
 * [AMP for WP - Accelerated Mobile Pages](https://wordpress.org/plugins/accelerated-mobile-pages/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/accelerated-mobile-pages/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/accelerated-mobile-pages/)
 * [Active Topics](https://wordpress.org/support/plugin/accelerated-mobile-pages/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/accelerated-mobile-pages/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/accelerated-mobile-pages/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [Ahmed Kaludi](https://wordpress.org/support/users/ahmedkaludi/)
 * Last activity: [6 years, 4 months ago](https://wordpress.org/support/topic/custom-javascript-is-not-allowed-taboola-code/#post-12316723)
 * Status: resolved