Short tip: Lightbox overlays aren't opened in Wordpress

If you're creating your own Wordpress theme and want to pimp photo galleries you will probably use a Lightbox plugin like Simple Lightbox, wp-jquery-lightbox or WP Lightbox 2. If you're not very familiar in creating Wordpress themes in addition (like me) you might forget the following lines and wonder why linked photos aren't showed up in the expected overlay.

By using another theme on your website you can easily detect whether you forgot something while coding your theme. If the overlays are working with another theme you might forgot the following lines:

In header.php: <?php wp_head(); ?>

In footer.php: <?php wp_footer(); ?>

In my case the issue was fixed by inserting the mentioned lines. 🙂

Translations: