Simple, free resources to help you build a better WordPress website.

Sign up for our newsletter.

Add Thickbox to your 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.

1 Comment

  1. Avatar
    jbhelfrich says:

    If this still works, it’s unreliable at best; I just tried it with a theme and immediately started getting “annot modify header information – headers already sent” errors until I removed the change.

Leave a Reply

Your email address will not be published. Required fields are marked *