Title: Theme with no Javascript Compatibility
Last modified: July 29, 2017

---

# Theme with no Javascript Compatibility

 *  [eannadefreine](https://wordpress.org/support/users/eannadefreine/)
 * (@eannadefreine)
 * [8 years, 10 months ago](https://wordpress.org/support/topic/theme-with-no-javascript-compatibility/)
 * Hi there.
    First time in the forums – would love if you guys can help.
 * I downloaded a new theme for my site (Lay theme) and later I found out it doesnt
   support javascript. I need javascript to be able to host my Shopify buy buttons
   on the site that use javascript.
 * Is there any way to “install” javascript on a theme? Or should Ijust move on 
   and find a theme that supports it already?
 * I appreciate your time in advance
    Eanna

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

 *  Moderator [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/)
 * (@sterndata)
 * Volunteer Forum Moderator
 * [8 years, 10 months ago](https://wordpress.org/support/topic/theme-with-no-javascript-compatibility/#post-9363364)
 * I don’t know what you mean by “it doesn’t support Javascript”. What are you trying
   to do? If you want to add js to the header or footer, there are plugins for that:
 * [https://wordpress.org/plugins/search/header+add+script](https://wordpress.org/plugins/search/header+add+script)
 *  Thread Starter [eannadefreine](https://wordpress.org/support/users/eannadefreine/)
 * (@eannadefreine)
 * [8 years, 10 months ago](https://wordpress.org/support/topic/theme-with-no-javascript-compatibility/#post-9363391)
 * Hi Steve
 * Thanks for getting back to me. Here is what the developer of the website told
   me:
 * “Hello, I see there is some javascript in that buy button. This javascript is
   not executed in lay theme because lay theme is a single page javascript application
   but this button only works on “normal” websites.”
 * Is there a way I can change this and make the theme accept javascript?
 * Thanks
    Eanna
 *  Moderator [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/)
 * (@sterndata)
 * Volunteer Forum Moderator
 * [8 years, 10 months ago](https://wordpress.org/support/topic/theme-with-no-javascript-compatibility/#post-9363416)
 * I have no idea how your developer built your site. If he says it doesn’t support
   javascript, then we have to take him at his word. Find another theme.
 *  [Saurabh Saneja](https://wordpress.org/support/users/saurabhsaneja/)
 * (@saurabhsaneja)
 * [8 years, 10 months ago](https://wordpress.org/support/topic/theme-with-no-javascript-compatibility/#post-9367765)
 * You should ask him again; what the developer said doesn’t make any sense
 *  Thread Starter [eannadefreine](https://wordpress.org/support/users/eannadefreine/)
 * (@eannadefreine)
 * [8 years, 10 months ago](https://wordpress.org/support/topic/theme-with-no-javascript-compatibility/#post-9367955)
 * Is there anything I can do? can I attach a Javascript script and file in the 
   header that will give me compatibility?
 *  [Saurabh Saneja](https://wordpress.org/support/users/saurabhsaneja/)
 * (@saurabhsaneja)
 * [8 years, 10 months ago](https://wordpress.org/support/topic/theme-with-no-javascript-compatibility/#post-9368068)
 * Can you please share URL on your website?
 * Javascript file could be in the header or footer

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

The topic ‘Theme with no Javascript Compatibility’ is closed to new replies.

## Tags

 * [javascript](https://wordpress.org/support/topic-tag/javascript/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 6 replies
 * 3 participants
 * Last reply from: [Saurabh Saneja](https://wordpress.org/support/users/saurabhsaneja/)
 * Last activity: [8 years, 10 months ago](https://wordpress.org/support/topic/theme-with-no-javascript-compatibility/#post-9368068)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
