Effects of NextGen Gallery Not working?

nextgen gallery Effects of NextGen Gallery Not working?

I was developing a customize WordPress Theme, as per requirement i have installed NextGen Gallery plugin of WordPress, Plugin was working pretty fine, but when i add gallery in widgebar and pages, i noticed that my NextGen gallery effects (ie. thickbox, lightbox) not working. When you clicked on an image it would link you directly to the jpg image. I was getting very frustrated and done lots of research why it is not working, i make it running by including CSS and JavaScript in header.php of template file, but i want a solid solution for this, after some research it turns out I was missing a very important line of code in theme header.php. I needed to add the PHP code "wp_header();" to header.php.
Add This Below Code in your header.php

<?php wp_head(); ?>

This creates a space for WordPress to add code into your header. NextGen gallery adds the javascript and CSS links automatically there. If you are having the same problem try added the header code to your theme.

  • http://www.clippingdesign.com/blog/ Clipping path designer

    I also using nextgen gallery for my wordpress blog but without that code my gallery working, actually i have not updated for latest because the fear of compatibility problem. Now i confused about to update.

  • karla

    Thank you, I’ve spent too much time on this already, wish I had found your page two days ago. or that the developer of the theme I am using had seen it! This solution fixed my problem immediately – I am eternally grateful that you shared it here.

    Cheers