Thread Starter
ibogo
(@ibogo)
Actually, not only homepage but sitewide.
Andrew Nevins
(@anevins)
WCLDN 2018 Contributor | Volunteer support
Put the JS in a .js file in your Child Theme folder. Then enqueue that JS file: https://codex.ww.wp.xz.cn/Function_Reference/wp_enqueue_script
I don’t understand why you put the JS in a <div>
Thread Starter
ibogo
(@ibogo)
The <div> is wrapped around the entire homepage body.
On right-click, an alert pops up.
Andrew Nevins
(@anevins)
WCLDN 2018 Contributor | Volunteer support
Thread Starter
ibogo
(@ibogo)
Have yet to use jQuery :s
Where would the code go?
Update: Nvm, found a good article. Will look into it. Thanks