diff --git a/fp-plugins/lightbox/plugin.lightbox.php b/fp-plugins/lightbox/plugin.lightbox.php index ea20210..ec77245 100755 --- a/fp-plugins/lightbox/plugin.lightbox.php +++ b/fp-plugins/lightbox/plugin.lightbox.php @@ -21,13 +21,22 @@ function plugin_lightbox_head() { echo << - - LBOXHEAD; } add_action('wp_head', 'plugin_lightbox_head'); +function plugin_lightbox_footer() { + + $pdir=plugin_geturl('lightbox'); + echo << + + +LBOXHEAD; +} +add_action('wp_footer', 'plugin_lightbox_footer'); + function plugin_lightbox_hook($popup, $abspath) { // the other $popup is just dropped return ' rel="lightbox"';