By the way, I found this in the “functions.php” file of the theme itself.
//load frontend scripts
function script_loader() {
if (!is_admin()) {
global $theme_options;
wp_register_style('font2', 'https://fonts.googleapis.com/css?family=OFL+Sorts+Mill+Goudy+TT:regular,italic');
wp_enqueue_style('font2');
wp_register_style('style', get_bloginfo('stylesheet_url'));
wp_enqueue_style('style');
wp_deregister_script('jquery');
wp_register_script('jquery', 'https://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js');
wp_enqueue_script('jquery');
if ($theme_options['cp_slider_show'] != 'disabled') {
wp_register_script('nivo', get_bloginfo('template_directory').'/js/jquery.nivo.slider.js', array("jquery"));
wp_enqueue_script('nivo');
wp_register_style('nivostyle', get_bloginfo('template_directory').'/nivo-slider.css');
wp_enqueue_style('nivostyle');
}
wp_register_script('cufon', get_bloginfo('template_directory').'/fonts/cufon-yui.js', array("jquery"));
wp_enqueue_script('cufon');
wp_register_script('font', get_bloginfo('template_directory').'/fonts/Junction_400.font.js', array("jquery"));
wp_enqueue_script('font');
wp_register_script('tweet', get_template_directory_uri().'/js/jquery.tweet.js', array("jquery"));
wp_enqueue_script('tweet');
wp_register_script('imgCenter', get_template_directory_uri().'/js/jquery.imgCenter.minified.js', array("jquery"));
wp_enqueue_script('imgCenter');
wp_register_script('fancybox', get_template_directory_uri().'/js/fancybox/jquery.fancybox-1.3.4.pack.js', array("jquery"));
wp_enqueue_script('fancybox');
wp_register_style('fancyboxstyle', get_template_directory_uri().'/js/fancybox/jquery.fancybox-1.3.4.css');
wp_enqueue_style('fancyboxstyle');
wp_register_style('cart66-css-custom', get_template_directory_uri().'/cart66.custom.css', array("cart66-css"));
wp_enqueue_style('cart66-css-custom');
}
}
add_action('wp_enqueue_scripts', 'script_loader');
If this has anything I can update let me know.
But again, I just wanted to repeat that the only change that really broke your awesome plugin was updating wordpress to 3.7.1 because the previous version made your script work well for images and youtube videos with no issues.
However, if there’s anything I can do to fix this, please let me know.
Sincerely,
Jaime