Reply To: Calendar and popup not show up in portfolio

hi read something about that on easyreservation.php is used the code (is_admin() before add_shortcode.

that’s why it doesn’t work. can this be resolved.??

see

if(is_admin()){
require_once(dirname(__FILE__).”/pagination.class.php”);
require_once(dirname(__FILE__).”/lib/functions/admin.php”);
require_once(dirname(__FILE__).”/lib/widgets/dashboard.php”);

if(isset($_GET[‘page’]) && $_GET[‘page’] == ‘reservations’) require_once(dirname(__FILE__).”/easyReservations_admin_main.php”);

if(isset($_GET[‘page’]) && $_GET[‘page’] == ‘reservation-resources’) require_once(dirname(__FILE__).”/easyReservations_admin_resources.php”);

if(isset($_GET[‘page’]) && $_GET[‘page’] == ‘reservation-statistics’) require_once(dirname(__FILE__).”/easyReservations_admin_statistics.php”);

if(isset($_GET[‘page’]) && $_GET[‘page’] == ‘reservation-settings’) require_once(dirname(__FILE__).”/easyReservations_admin_settings.php”);

} else {

require_once(dirname(__FILE__).”/lib/functions/front.php”);

require_once(dirname(__FILE__).”/easyReservations_form_shortcode.php”);

require_once(dirname(__FILE__).”/easyReservations_edit_shortcode.php”);

require_once(dirname(__FILE__).”/easyReservations_calendar_shortcode.php”);

add_shortcode(‘easy_calendar’, ‘reservations_calendar_shortcode’);
add_shortcode(‘easy_edit’, ‘reservations_edit_shortcode’);
add_shortcode(‘easy_form’, ‘reservations_form_shortcode’);
}