Log in Sign up
Discussion WordPress

How to properly enqueue jQuery in a custom theme without breaking other plugins?

David Performance
David Performance
0 reputation
2 weeks ago 188 views 3 replies
Hi everyone! I'm looking for some advice on this topic.

Question: How to properly enqueue jQuery in a custom theme without breaking other plugins?

1 Reply

Paul Agency
Paul Agency ยท 2 weeks ago
Never hardcode the script tag in header.php. Use `wp_enqueue_script('jquery');` in functions.php.

You must be logged in to reply.

Log In to Reply