Lightbox clone not working after update Twenty Twelve Theme
-
Hi all,
Trying to narrow down what has happened as recently updated WordPress from 3.5.2 to 3.6 and also the Twenty Twelve theme from 1.1 to 1.2.
I have a child theme with a few minor modifications, one of which was a Lightbox clone called fancybox. I used the tutorial to implement fancybox for Twenty Twelve taken from here WPTUTS here
I have removed the Twenty Twelve update and the issue still persists, now wondering if this is caused by the 3.6 WordPress update?
My website and a page that contains images that previously worked can be seen here https://coder-tronics.com/microcontroller-gpio-protection/
My child Functions.php only contains the following code related to Fancybox, so not sure what the issue is at this stage?
/*********************---------- * LIGHTBOX CLONE CODE SECTION ----------*********************/ /* SCRIPTS AND STYLES FOR FANCYBOX ---------------------------------------- Add acripts and styles for Fancybox */ function twentytwelve_add_lightbox() { wp_enqueue_script( 'fancybox', get_template_directory_uri() . '/inc/lightbox/js/jquery.fancybox.pack.js', array( 'jquery' ), false, true ); wp_enqueue_script( 'lightbox', get_template_directory_uri() . '/inc/lightbox/js/lightbox.js', array( 'fancybox' ), false, true ); wp_enqueue_style( 'lightbox-style', get_template_directory_uri() . '/inc/lightbox/css/jquery.fancybox.css' ); } add_action( 'wp_enqueue_scripts', 'twentytwelve_add_lightbox' );
Any help would really be appeciated,
Cheers,
Ant
- The topic ‘Lightbox clone not working after update Twenty Twelve Theme’ is closed to new replies.