Hi,
Try this hack in your functions :
/*REMOVE PANOPRESS IF NO PANO SHORTCODE*/
remove_action( 'wp_head', 'pp_headers' );
function add_panopress(){
global $post;
if( function_exists('has_shortcode') AND has_shortcode( $post->post_content, 'pano') ){
add_action( 'wp_head', 'pp_headers' );
}
}
add_action( 'wp_enqueue_scripts','add_panopress');
It’s ok for me…