Jump to content

Archived

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

x69chen

The Custom code keep on saving...

Recommended Posts

x69chen

Hi it may be I make too many JavaScript code,

the custom code section just keep on "Saving..." for like 20 minutes and still haven't finished.

 

Can I ask if there is any files on the backend I can add my JavaScript code there and apply to all the site?

 

Thank you

Share this post


Link to post
Share on other sites
Danny

Hi,

 

In my opinion, if you wish to add JavaScript and have it so it is easily managed if you encounter an error or conflict. I recommend you use a child theme and the enqueue function provided by WordPress. You can find more about the enqueue function here - http://codex.wordpress.org/Function_Reference/wp_enqueue_script


Please search our forums, before posting!

Share this post


Link to post
Share on other sites

×