Remove PhotoSwipe
<?php /** * Remove PhotoSwipe */ add_action( 'after_setup_theme', 'custom_theme_support', 11 ); function custom_theme_support() { remove_theme_support( 'PhotoSwipe' ); }