Adding jquery and thickbox to WordPress theme

You need to use the wp_enqueue_script function (in your functions.php file) to call the relevant scripts you need. It allows for both built-in libraries and to add any custom that you’re including in your theme.

Leave a Comment