Add Thickbox to Your WordPress Theme the Easy Way
If you want to add fancy overlays for images and HTML on the front-end of your template, there’s no reason to use wp_enqueue_script and wp_enqueue_style. All you need in your functions file is:
add_thickbox();
That’s it! Boom, you’re theme just got awesome with one line of code.