global $wp_embed, $wp_query; get_header(); $is_gallery = (kvalue($_reserved_categories, 'gallery') == get_query_var('cat')) ? true : false; $is_video = (kvalue($_reserved_categories, 'videos') && $in_array(get_query_var('cat'), (array)$_reserved_categories['videos'])) ? true : false; if($is_gallery) include_once('gallery.php'); elseif(kvalue($_reserved_categories, 'events') == get_query_var('cat')) include_once('events.php'); else include_once('blog_category.php'); get_footer(); ?>