1
I’m learning how to turn a site into a wordpress theme, but I came across an error that I can’t solve:
Some plugins require me to have the HEAD code this code adds the JS of WP, and conflicts with the JS I used to develop the project. And if I delete the JS that I used in the project, the functions that used it stop working... Can anyone help me, as I do to reestablish the functions using the wordpress JS?
Post conflict errors that appear on your console
– Darlei Fernando Zillmer
Utilize
wp_deregister_script
to remove the old andwp_register_script
to add the new.– Valdeir Psr
wp_deregister_script and wp_register_script worked, thanks!
– Clayton