Hmm. I made the change on line 55 and then on 99 replaced
function check_request( $wp ) {
if ( !array_key_exists(‘callback’, $wp->query_vars) )
return;
if ( $wp->query_vars[‘callback’] == ‘monoslideshow’) {
require_once (dirname (__FILE__) . ‘/xml.php’);
exit();
}
}
with
function check_request( $wp ) {
if(strstr($_SERVER[“HTTP_REFERER”], “monoslideshow.swf”)){
require_once (dirname (__FILE__) . ‘/xml.php’);
exit();
}
else return;
}
But I am still getting the “something went wrong… slideshow doesn’t contain any items” error message. Am I missing something?