Hi Miqser,
That’s going to largely depend on your theme. Which one are you using? Have you asked the theme developer if they can provide some direction with that?
Thread Starter
Miqser
(@miqser)
Hi mindctrl,
Thanks for your reply.
Theme is Trades. http://themeforest.net/item/trades-multipurpose-business-wordpress-theme/7623325
I asked Themeforest and Envato through their support page, no answer (yet?).
I’m not an PHP / WP expert, but from my research I think that theme’s lightbox function seems to be on functions.php, somewhere here (or all that):
wp_enqueue_script(‘fancybox_mousewheel’, get_template_directory_uri() . ‘/js/fancybox/lib/jquery.mousewheel-3.0.6.pack.js’, array(‘jquery’), false, true);
wp_enqueue_script(‘fancybox_core’, get_template_directory_uri() . ‘/js/fancybox/source/jquery.fancybox.pack.js’, array(‘jquery’), false, true);
wp_enqueue_script(‘fancybox_buttons’, get_template_directory_uri() . ‘/js/fancybox/source/helpers/jquery.fancybox-buttons.js’, array(‘fancybox_core’), false, true);
wp_enqueue_script(‘fancybox_media’, get_template_directory_uri() . ‘/js/fancybox/source/helpers/jquery.fancybox-media.js’, array(‘fancybox_core’), false, true);
wp_enqueue_script(‘fancybox_thumbs’, get_template_directory_uri() . ‘/js/fancybox/source/helpers/jquery.fancybox-thumbs.js’, array(‘fancybox_core’), false, true);
I’m not familiar with that theme. Unfortunately the policy on the forums here (not set by me) is to only support themes available in the directory or freely available elsewhere. Commercial theme support is handled by the developers. Hopefully they’ll get back with you soon.