Add a Slideshow'; return $context . $out; } if( !defined( "AS_CURRENT_PAGE" ) ) define( "AS_CURRENT_PAGE", basename( $_SERVER['PHP_SELF'] ) ); if( in_array( AS_CURRENT_PAGE, array( 'post.php', 'page.php', 'page-new.php', 'post-new.php' ) ) ){ add_action( 'admin_footer', 'jtd_anythingslider_insert_form_popup' ); } function jtd_anythingslider_insert_form_popup() { $options = get_option( 'jtd_anything_slides_options' ); ?>