I’d like to disable the loading of prettyphoto so I can replace it with another lightbox that is easier for a user to control.
In the framework.php file I find the following references:
wp_enqueue_script('jquery-prettyphoto', MO_SCRIPTS_LIB_URL . '/jquery.prettyPhoto.js', array('jquery'), '3.1.4', true);
wp_register_style('pretty-photo', MO_THEME_URL . '/css/prettyPhoto.css', array(), false, 'screen');
wp_register_style('style-theme', get_stylesheet_uri(), array('pretty-photo', 'icon-fonts'), false, 'all');
wp_enqueue_style('pretty-photo');
Can I simply comment these out w/o errors? And what happens if there is an update to the theme?
Many thanks –