Beispiel #1
0
  ================================================== */
$meta_boxes[] = array('id' => 'post_meta_box', 'title' => __('Custom Description  Meta Box', 'framework'), 'pages' => array('post'), 'fields' => array(array('name' => __('Custom Description', 'framework'), 'id' => $prefix . 'post_custom_description', 'desc' => __("Enter Custom Description.", 'framework'), 'type' => 'textarea')));
/* Sermon Meta Box
  ================================================== */
$meta_boxes[] = array('id' => 'sermons_meta_box', 'title' => __('Sermons  Meta Box', 'framework'), 'pages' => array('sermons'), 'fields' => array(array('type' => 'heading', 'name' => __('Audio for Sermon', 'meta-box'), 'id' => 'heading_id3', 'desc' => __('Add audio to your sermons either by direct URL or Upload here', 'framework')), array('name' => __('Upload Audio', 'framework'), 'id' => $prefix . 'sermons_audio_upload', 'desc' => __("Select Audio Upload Option.", 'framework'), 'type' => 'select', 'options' => array('1' => __('By Upload', 'framework'), '2' => __('By Url', 'framework'))), array('name' => __('Audio', 'framework'), 'id' => $prefix . 'sermons_audio', 'desc' => __("Upload Audio.", 'framework'), 'type' => 'file_advanced', 'max_file_uploads' => 1), array('name' => __('Audio', 'framework'), 'id' => $prefix . 'sermons_url_audio', 'desc' => __("Enter Audio Url for Sermons", 'framework'), 'type' => 'url'), array('type' => 'heading', 'name' => __('Video for Sermon', 'meta-box'), 'id' => 'heading_id2'), array('name' => __('Sermon Video', 'framework'), 'id' => $prefix . 'sermons_video_upload_option', 'desc' => __("Select Video Option.", 'framework'), 'type' => 'select', 'options' => array('1' => __('By Vimeo/Youtube URL', 'framework'), '2' => __('Custom Video', 'framework'))), array('name' => __('Sermon Video .mp4', 'framework'), 'id' => $prefix . 'sermons_video_mp4', 'desc' => __("This is mandatory for custom video. MP4 for Safari, IE9, iPhone, iPad, Android, and Windows Phone 7", 'framework'), 'type' => 'file_input', 'max_file_uploads' => 1), array('name' => __('Sermon Video .webm', 'framework'), 'id' => $prefix . 'sermons_video_webm', 'desc' => __("WebM/VP8 for Firefox4, Opera, and Chrome", 'framework'), 'type' => 'file_input', 'max_file_uploads' => 1), array('name' => __('Sermon Video .ogv', 'framework'), 'id' => $prefix . 'sermons_video_ogv', 'desc' => __("Ogg/Vorbis for older Firefox and Opera versions", 'framework'), 'type' => 'file_input', 'max_file_uploads' => 1), array('name' => __('Sermon Video Poster Image', 'framework'), 'id' => $prefix . 'sermons_video_poster', 'desc' => __("An image which will appear as a poster prior to video play start.", 'framework'), 'type' => 'file_input', 'max_file_uploads' => 1), array('name' => __('Sermon Url', 'framework'), 'id' => $prefix . 'sermons_url', 'desc' => __("Enter vimeo/youtube url for Sermons.", 'framework'), 'type' => 'url'), array('type' => 'heading', 'name' => __('PDF for Sermon', 'meta-box'), 'id' => 'heading_id1'), array('name' => __('Upload Pdf', 'framework'), 'id' => $prefix . 'sermons_pdf_upload_option', 'desc' => __("Select Pdf Upload Option.", 'framework'), 'type' => 'select', 'options' => array('1' => __('By Upload', 'framework'), '2' => __('By Url', 'framework'))), array('name' => __('Upload Pdf', 'framework'), 'id' => $prefix . 'sermons_Pdf', 'desc' => __("Upload Pdf for Sermons.", 'framework'), 'type' => 'file_advanced', 'max_file_uploads' => 1), array('name' => __('Upload Pdf', 'framework'), 'id' => $prefix . 'sermons_pdf_by_url', 'desc' => __("Enter Pdf Url for Sermons.", 'framework'), 'type' => 'url'), array('type' => 'heading', 'name' => __('Additional Media Attachments', 'meta-box'), 'desc' => __('These media items will be displayed on single sermon page'), 'id' => 'heading_id4'), array('name' => __('Additional Vimeo Video', 'framework'), 'id' => $prefix . 'sermons_add_vimeo_url', 'desc' => __("Enter Vimeo video URL", 'framework'), 'type' => 'url'), array('name' => __('Additional Youtube Video', 'framework'), 'id' => $prefix . 'sermons_add_youtube_url', 'desc' => __("Enter Youtube video URL", 'framework'), 'type' => 'url'), array('name' => __('Additional Soundcloud Audio', 'framework'), 'id' => $prefix . 'sermons_add_soundcloud_url', 'desc' => __("Enter Soundcloud audio URL", 'framework'), 'type' => 'url'), array('name' => __('Additional Sermon Video .mp4', 'framework'), 'id' => $prefix . 'sermons_add_video_mp4', 'desc' => __("This is mandatory for custom video. MP4 for Safari, IE9, iPhone, iPad, Android, and Windows Phone 7", 'framework'), 'type' => 'file_input', 'max_file_uploads' => 1), array('name' => __('Additional Sermon Video .webm', 'framework'), 'id' => $prefix . 'sermons_add_video_webm', 'desc' => __("WebM/VP8 for Firefox4, Opera, and Chrome", 'framework'), 'type' => 'file_input', 'max_file_uploads' => 1), array('name' => __('Additional Sermon Video .ogv', 'framework'), 'id' => $prefix . 'sermons_add_video_ogv', 'desc' => __("Ogg/Vorbis for older Firefox and Opera versions", 'framework'), 'type' => 'file_input', 'max_file_uploads' => 1), array('name' => __('Additional Sermon Video Poster Image', 'framework'), 'id' => $prefix . 'sermons_add_video_poster', 'desc' => __("An image which will appear as a poster prior to video play start.", 'framework'), 'type' => 'file_input', 'max_file_uploads' => 1)));
/* Sermon Meta Box
  ================================================== */
$meta_boxes[] = array('id' => 'sermons_podcast', 'title' => __('Sermon Podcast', 'framework'), 'pages' => array('sermons'), 'fields' => array(array('name' => __('Sermon short description', 'framework'), 'id' => $prefix . 'sermons_podcast_description', 'desc' => __("Enter short and sweet description for this sermon to show at podcast players.", 'framework'), 'type' => 'textarea')));
/* * **Contact Page Meta Box 1 *** */
$meta_boxes[] = array('id' => 'template-contact1', 'title' => __('Email & Subject', 'framework'), 'pages' => array('page'), 'show' => array('relation' => 'OR', 'template' => array('template-contact.php')), 'show_names' => true, 'fields' => array(array('name' => __('Email', 'framework'), 'id' => $prefix . 'contact_email', 'desc' => __("Enter Email to Use in contact Form in default admin email used.", 'framework'), 'type' => 'text', 'std' => get_option('admin_email')), array('name' => __('Subject', 'framework'), 'id' => $prefix . 'contact_subject', 'desc' => __("Enter Subject to Use in contact Page.", 'framework'), 'type' => 'textarea')));
/* * **Contact Page Meta Box 2 *** */
$meta_boxes[] = array('id' => 'template-contact2', 'title' => __('Map Box', 'framework'), 'pages' => array('page'), 'show' => array('relation' => 'OR', 'template' => array('template-contact.php')), 'show_names' => true, 'fields' => array(array('name' => __('Our Location Text', 'framework'), 'id' => $prefix . 'our_location_text', 'desc' => __("Enter the Our Location Text to display on cotact page.", 'framework'), 'type' => 'text'), array('name' => __('Map Display', 'framework'), 'id' => $prefix . 'contact_map_display', 'desc' => __("Select Map Display.", 'framework'), 'type' => 'select', 'options' => array('no' => __('No', 'framework'), 'yes' => __('Yes', 'framework'))), array('name' => __('Map Box Code', 'framework'), 'id' => $prefix . 'contact_map_box_code', 'desc' => __("Enter the code to display on cotact page.", 'framework'), 'type' => 'textarea')));
/* * **Home Page Meta Box1 *** */
$meta_boxes[] = array('id' => 'template-home1', 'title' => __('Slider Metabox', 'framework'), 'pages' => array('page'), 'show' => array('relation' => 'OR', 'template' => array('template-home.php', 'template-home-pb.php', 'template-h-third.php')), 'show_names' => true, 'fields' => array(array('name' => __('Choose Slider', 'framework'), 'id' => $prefix . 'Choose_slider_display', 'desc' => __("Select Slider Display.", 'framework'), 'type' => 'select', 'options' => array('0' => __('Flex Slider', 'framework'), '1' => __('Revolution Slider', 'framework'))), array('name' => __("Select Revolution Slider from list", "framework"), 'id' => $prefix . 'select_revolution_from_list', 'desc' => __("Select Revolution Slider from list", 'framework'), 'type' => 'select', 'options' => RevSliderShortCode()), array('name' => __('Slider Image', 'framework'), 'id' => $prefix . 'slider_image', 'desc' => __("Enter Slider Image.", 'framework'), 'type' => 'image_advanced'), array('name' => __('Slider Speed', 'framework'), 'id' => $prefix . 'slider_speed', 'desc' => __("Default Slider Speed is 5000.", 'framework'), 'type' => 'text'), array('name' => __('Slider Pagination', 'framework'), 'id' => $prefix . 'slider_pagination', 'desc' => __("Enable to show pagination for slider.", 'framework'), 'type' => 'select', 'options' => array('yes' => __('Enable', 'framework'), 'no' => __('Disable', 'framework')), 'std' => 'yes'), array('name' => __('Slider Auto Slide', 'framework'), 'id' => $prefix . 'slider_auto_slide', 'desc' => __("Select Yes to slide automatically.", 'framework'), 'type' => 'select', 'options' => array('yes' => __('Yes', 'framework'), 'no' => __('No', 'framework'))), array('name' => __('Slider Direction Arrows', 'framework'), 'id' => $prefix . 'slider_direction_arrows', 'desc' => __("Select Yes to show slider direction arrows.", 'framework'), 'type' => 'select', 'options' => array('yes' => __('Yes', 'framework'), 'no' => __('No', 'framework'))), array('name' => __('Slider Effects', 'framework'), 'id' => $prefix . 'slider_effects', 'desc' => __("Select effects for slider.", 'framework'), 'type' => 'select', 'options' => array('fade' => __('Fade', 'framework'), 'slide' => __('Slide', 'framework')))));
/* * **Home Second Meta Box1 *** */
$meta_boxes[] = array('id' => 'template-h-second-1', 'title' => __('Categories Area', 'framework'), 'pages' => array('page'), 'show' => array('relation' => 'OR', 'template' => array('template-h-second.php')), 'show_names' => true, 'fields' => array(array('name' => __('Switch for categories area', 'framework'), 'id' => $prefix . 'switch_categories_post', 'desc' => __("Select enable or disable to show/hide categories posts area.", 'framework'), 'type' => 'select', 'options' => array('1' => __('Enable', 'framework'), '2' => __('Disable', 'framework')), 'std' => '1'), array('name' => __('Category show on home page', 'framework'), 'id' => $prefix . 'category_to_show_on_home', 'desc' => __("Choose Category to show  on Home page", 'framework'), 'clone' => true, 'type' => 'select', 'options' => imic_get_cat_list()), array('name' => __('Number of Post', 'framework'), 'id' => $prefix . 'number_of_post_cat', 'desc' => __("Enter Number of Post", 'framework'), 'type' => 'text', 'std' => '', 'clone' => true)));
/* * **Home Page Meta Box6 *** */
$meta_boxes[] = array('id' => 'template-home6', 'title' => __('Select option for Area Under Slider', 'framework'), 'pages' => array('page'), 'show' => array('relation' => 'OR', 'template' => array('template-home.php', 'template-home-pb.php', 'template-h-third.php')), 'show_names' => true, 'fields' => array(array('name' => __('Switch for section under slider', 'framework'), 'id' => $prefix . 'upcoming_area', 'desc' => __("Select enable or disable to show/hide Event/Sermon under slider.", 'framework'), 'type' => 'select', 'options' => array('1' => __('Enable', 'framework'), '2' => __('Disable', 'framework')), 'std' => '1'), array('name' => __('Recent Event/Sermon', 'framework'), 'id' => $prefix . 'latest_sermon_events_to_show_on', 'desc' => __("Choose Latest item to show under slider", 'framework'), 'type' => 'select', 'options' => array('letest_event' => __('Latest event', 'framework'), 'letest_sermon' => __('Latest Sermon', 'framework'), 'text' => __('Custom Message', 'framework'))), array('name' => __('Custom Text Message', 'framework'), 'id' => $prefix . 'custom_text_message', 'desc' => __("Enter Custom Message, this field could also be use for shortcodes.", 'framework'), 'type' => 'textarea'), array('name' => __('Event Category', 'framework'), 'id' => $prefix . 'advanced_event_taxonomy', 'desc' => __("Choose Event Category", 'framework'), 'type' => 'taxonomy_advanced', 'options' => array('taxonomy' => 'event-category', 'type' => 'select', 'args' => array('orderby' => 'count', 'hide_empty' => true)), 'multiple' => true), array('name' => __('Switch for Going on events', 'framework'), 'id' => $prefix . 'going_on_events', 'desc' => __("Select enable or disable to show/hide Going On Events under slider.", 'framework'), 'type' => 'select', 'options' => array('1' => __('Disable', 'framework'), '2' => __('Enable', 'framework')), 'std' => '1'), array('name' => __('Custom Going On Events Title', 'framework'), 'id' => $prefix . 'custom_going_on_events_title', 'desc' => __("Enter Going On Events Title.", 'framework'), 'type' => 'text'), array('name' => __('Sermons Category', 'framework'), 'id' => $prefix . 'advanced_sermons_category', 'desc' => __("Choose Sermons Category", 'framework'), 'type' => 'taxonomy_advanced', 'options' => array('taxonomy' => 'sermons-category', 'type' => 'select', 'args' => array('orderby' => 'count', 'hide_empty' => true)), 'multiple' => true), array('name' => __('All Event/Sermon Button Url', 'framework'), 'id' => $prefix . 'all_event_sermon_url', 'desc' => __("Enter Event/Sermon Button Url", 'framework'), 'type' => 'text', 'std' => '')));
/* * **Home Page Meta Box4 *** */
$meta_boxes[] = array('id' => 'template-home4', 'title' => __('Featured Blocks Area', 'framework'), 'pages' => array('page'), 'show' => array('relation' => 'OR', 'template' => array('template-home.php')), 'show_names' => true, 'fields' => array(array('name' => __('Switch for featured blocks', 'framework'), 'id' => $prefix . 'imic_featured_blocks', 'desc' => __("Select enable or disable to show/hide feature blocks.", 'framework'), 'type' => 'select', 'options' => array('1' => __('Enable', 'framework'), '2' => __('Disable', 'framework')), 'std' => '1'), array('name' => __('Featured Blocks to show on home page', 'framework'), 'id' => $prefix . 'home_featured_blocks', 'desc' => __("Enter the Posts/Pages comma separated Id to show on Home page featured block. example - 1,2,3", 'framework'), 'type' => 'text', 'std' => ''), array('name' => __('Title for featured blocks', 'framework'), 'id' => $prefix . 'home_row_featured_blocks', 'desc' => __("Enter the title for featured blocks", 'framework'), 'type' => 'text', 'clone' => true, 'std' => ''), array('name' => __('Title for first featured block', 'framework'), 'id' => $prefix . 'home_featured_blocks1', 'desc' => __("Enter the title for first featured block area", 'framework'), 'type' => 'hidden', 'std' => ''), array('name' => __('Title for second featured block', 'framework'), 'id' => $prefix . 'home_featured_blocks2', 'desc' => __("Enter the title for second featured block area", 'framework'), 'type' => 'hidden', 'std' => ''), array('name' => __('Title for third featured block', 'framework'), 'id' => $prefix . 'home_featured_blocks3', 'desc' => __("Enter the title for third featured block area", 'framework'), 'type' => 'hidden', 'std' => '')));
/* * **Home Page Meta Box7 *** */
$meta_boxes[] = array('id' => 'template-home7', 'title' => __('Upcoming Events Area', 'framework'), 'pages' => array('page'), 'show' => array('relation' => 'OR', 'template' => array('template-home.php', 'template-h-third.php')), 'show_names' => true, 'fields' => array(array('name' => __('Switch for upcoming events', 'framework'), 'id' => $prefix . 'imic_upcoming_events', 'desc' => __("Select enable or disable to show/hide upcoming events.", 'framework'), 'type' => 'select', 'options' => array('1' => __('Enable', 'framework'), '2' => __('Disable', 'framework')), 'std' => '1'), array('name' => __('Event Category', 'framework'), 'id' => $prefix . 'upcoming_event_taxonomy', 'desc' => __("Choose Event Category", 'framework'), 'type' => 'taxonomy_advanced', 'options' => array('taxonomy' => 'event-category', 'type' => 'select', 'args' => array('orderby' => 'count', 'hide_empty' => true)), 'multiple' => true), array('name' => __('Custom More Upcoming Events Title', 'framework'), 'id' => $prefix . 'custom_upcoming_events_title', 'desc' => __("Enter More Upcoming Events Title.", 'framework'), 'type' => 'text'), array('name' => __('Number of Events to show on home page', 'framework'), 'id' => $prefix . 'events_to_show_on', 'desc' => __("Enter the number of Events to show on Home page. example - 3 .", 'framework'), 'type' => 'text', 'std' => '')));
/* * **Home Page Meta Box5 *** */
$meta_boxes[] = array('id' => 'template-home5', 'title' => __('Recent Posts Area', 'framework'), 'pages' => array('page'), 'show' => array('relation' => 'OR', 'template' => array('template-home.php', 'template-h-third.php')), 'show_names' => true, 'fields' => array(array('name' => __('Switch for recent post.', 'framework'), 'id' => $prefix . 'imic_recent_posts', 'desc' => __("Select enable or disable to show/hide recent posts.", 'framework'), 'type' => 'select', 'options' => array('1' => __('Enable', 'framework'), '2' => __('Disable', 'framework')), 'std' => '1'), array('name' => __('Post Category', 'framework'), 'id' => $prefix . 'recent_post_taxonomy', 'desc' => __("Choose Post Category", 'framework'), 'type' => 'taxonomy_advanced', 'options' => array('taxonomy' => 'category', 'type' => 'select', 'args' => array('orderby' => 'count', 'hide_empty' => true)), 'std' => '', 'multiple' => true), array('name' => __('Custom Latest News Title', 'framework'), 'id' => $prefix . 'custom_latest_news_title', 'desc' => __("Enter Custom Latest News Title.", 'framework'), 'type' => 'text'), array('name' => __('Number of Recent Posts to show on home page.', 'framework'), 'id' => $prefix . 'posts_to_show_on', 'desc' => __("Enter the number of Recent Posts to show on Home page. example - 3 .", 'framework'), 'type' => 'text', 'std' => ''), array('name' => __('Show read more button', 'framework'), 'id' => $prefix . 'recent_posts_rmbutton', 'desc' => __("Show read more button for each recent post?", 'framework'), 'type' => 'select', 'options' => array('1' => __('Yes', 'framework'), '2' => __('No', 'framework')), 'std' => '2'), array('name' => __('Custom read more button text', 'framework'), 'id' => $prefix . 'recent_posts_rmbutton_text', 'desc' => __("Enter button text for read more button", 'framework'), 'type' => 'text', 'std' => '')));
/* * **Home Page Meta Box3 *** */
$meta_boxes[] = array('id' => 'template-home3', 'title' => __('Recent Galleries Area', 'framework'), 'pages' => array('page'), 'show' => array('relation' => 'OR', 'template' => array('template-home.php', 'template-h-third.php', 'template-h-second.php')), 'show_names' => true, 'fields' => array(array('name' => __('Switch for gallery', 'framework'), 'id' => $prefix . 'imic_galleries', 'desc' => __("Select enable or disable to show/hide galleries.", 'framework'), 'type' => 'select', 'options' => array('1' => __('Enable', 'framework'), '2' => __('Disable', 'framework')), 'std' => '1'), array('name' => __('Gallery Categories', 'framework'), 'id' => $prefix . 'home_gallery_taxonomy', 'desc' => __("Choose Gallery Category", 'framework'), 'type' => 'taxonomy_advanced', 'options' => array('taxonomy' => 'gallery-category', 'type' => 'select', 'args' => array('orderby' => 'count', 'hide_empty' => true)), 'std' => '', 'multiple' => true), array('name' => __('Custom Gallery Title', 'framework'), 'id' => $prefix . 'custom_gallery_title', 'desc' => __("Enter Custom Gallery Title.", 'framework'), 'type' => 'text'), array('name' => __('Custom More Galleries Title', 'framework'), 'id' => $prefix . 'custom_more_galleries_title', 'desc' => __("Enter Custom More Galleries Title.", 'framework'), 'type' => 'text'), array('name' => __('Custom More Galleries Url', 'framework'), 'id' => $prefix . 'custom_more_galleries_url', 'desc' => __("Enter Custom More Galleries Url.", 'framework'), 'type' => 'url'), array('name' => __('Number of Galleries to show on home page', 'framework'), 'id' => $prefix . 'galleries_to_show_on', 'desc' => __("Enter the number of Galleries to show on Home page. example - 3 .", 'framework'), 'type' => 'text', 'std' => ''), array('name' => __('Upload Background Image', 'framework'), 'id' => $prefix . 'galleries_background_image', 'desc' => __("Upload Background Image", 'framework'), 'type' => 'image_advanced', 'max_file_uploads' => 1)));
/* * **Home third Meta Box1 *** */
$meta_boxes[] = array('id' => 'template-h-third-1', 'title' => __('Latest Sermon Albums', 'framework'), 'pages' => array('page'), 'show' => array('relation' => 'OR', 'template' => array('template-h-third.php')), 'show_names' => true, 'fields' => array(array('name' => __('Switch for Sermon Albums', 'framework'), 'id' => $prefix . 'switch_sermon_album', 'desc' => __("Select enable or disable to show/hide Sermon Albums posts area.", 'framework'), 'type' => 'select', 'options' => array('1' => __('Enable', 'framework'), '2' => __('Disable', 'framework')), 'std' => '1'), array('name' => __('Custom Latest Sermon Albums Title', 'framework'), 'id' => $prefix . 'custom_albums_title', 'desc' => __("Enter Custom Latest Sermon Albums Title", 'framework'), 'type' => 'text', 'std' => ''), array('name' => __('Number of Sermon Albums', 'framework'), 'id' => $prefix . 'number_of_sermon_albums', 'desc' => __("Enter Number of Sermon Albums", 'framework'), 'type' => 'text', 'std' => ''), array('name' => __('All Sermon Albums Url', 'framework'), 'id' => $prefix . 'sermon_albums_url', 'desc' => __("Enter Sermon Albums Url", 'framework'), 'type' => 'text')));
/* * ** Gallery  Pagination Meta Box 1 *** */
$meta_boxes[] = array('id' => 'template-gallery-pagination1', 'title' => __('Gallery Metabox', 'framework'), 'pages' => array('page'), 'show' => array('relation' => 'OR', 'template' => array('template-gallery-pagination.php')), 'show_names' => true, 'fields' => array(array('name' => __('Number of gallery items', 'framework'), 'id' => $prefix . 'gallery_pagination_to_show_on', 'desc' => __("Enter the number of gallery items to show on a page. For example: 6", 'framework'), 'type' => 'text', 'std' => ''), array('name' => __('Gallery Columns Layout', 'framework'), 'id' => $prefix . 'gallery_pagination_columns_layout', 'desc' => __("Enter the number of Columns for Layout to show on Gallery page. For example: 3", 'framework'), 'type' => 'text', 'std' => ''), array('name' => __('Show gallery items title', 'framework'), 'id' => $prefix . 'show_gallery_title', 'desc' => __("Select enable if you need to show gallery items title.", 'framework'), 'type' => 'select', 'options' => array('0' => __('Disable', 'framework'), '1' => __('Enable', 'framework')), 'std' => 0)));
/* * ** Gallery Masonry Meta Box 1 *** */
/* * **Contact Page Meta Box 2 *** */
$meta_boxes[] = array('id' => 'template-contact2', 'title' => __('Map Box', 'framework'), 'pages' => array('page'), 'show_names' => true, 'fields' => array(array('name' => __('Our Location Text', 'framework'), 'id' => $prefix . 'our_location_text', 'desc' => __("Enter the Our Location Text to display on cotact page.", 'framework'), 'type' => 'text'), array('name' => __('Map Display', 'framework'), 'id' => $prefix . 'contact_map_display', 'desc' => __("Select Map Display.", 'framework'), 'type' => 'select', 'options' => array('no' => __('No', 'framework'), 'yes' => __('Yes', 'framework'))), array('name' => __('Map Box Code', 'framework'), 'id' => $prefix . 'contact_map_box_code', 'desc' => __("Enter the code to display on cotact page.", 'framework'), 'type' => 'textarea')));
/* * **Home Page Meta Box1 *** */
$meta_boxes[] = array('id' => 'template-home1', 'title' => __('Slider Metabox', 'framework'), 'pages' => array('page'), 'show_names' => true, 'fields' => array(array('name' => __('Slider Image', 'framework'), 'id' => $prefix . 'slider_image', 'desc' => __("Enter Slider Image.", 'framework'), 'type' => 'image_advanced'), array('name' => __('Slider Pagination', 'framework'), 'id' => $prefix . 'slider_pagination', 'desc' => __("Enable to show pagination for slider.", 'framework'), 'type' => 'select', 'options' => array('yes' => __('Enable', 'framework'), 'no' => __('Disable', 'framework'))), array('name' => __('Slider Auto Slide', 'framework'), 'id' => $prefix . 'slider_auto_slide', 'desc' => __("Select Yes to slide automatically.", 'framework'), 'type' => 'select', 'options' => array('yes' => __('Yes', 'framework'), 'no' => __('No', 'framework'))), array('name' => __('Slider Direction Arrows', 'framework'), 'id' => $prefix . 'slider_direction_arrows', 'desc' => __("Select Yes to show slider direction arrows.", 'framework'), 'type' => 'select', 'options' => array('yes' => __('Yes', 'framework'), 'no' => __('No', 'framework'))), array('name' => __('Slider Effects', 'framework'), 'id' => $prefix . 'slider_effects', 'desc' => __("Select effects for slider.", 'framework'), 'type' => 'select', 'options' => array('fade' => __('Fade', 'framework'), 'slide' => __('Slide', 'framework')))));
/* * **Home Page Meta Box2 *** */
$meta_boxes[] = array('id' => 'template-home2', 'title' => __('Custom Title and Url Metabox', 'framework'), 'pages' => array('page'), 'show_names' => true, 'fields' => array(array('name' => __('Custom Latest News Title', 'framework'), 'id' => $prefix . 'custom_latest_news_title', 'desc' => __("Enter Custom Latest News Title.", 'framework'), 'type' => 'text'), array('name' => __('Custom More Upcoming Events Title', 'framework'), 'id' => $prefix . 'custom_upcoming_events_title', 'desc' => __("Enter More Upcoming Events Title.", 'framework'), 'type' => 'text'), array('name' => __('Custom Gallery Title', 'framework'), 'id' => $prefix . 'custom_gallery_title', 'desc' => __("Enter Custom Gallery Title.", 'framework'), 'type' => 'text'), array('name' => __('Custom More Galleries Title', 'framework'), 'id' => $prefix . 'custom_more_galleries_title', 'desc' => __("Enter Custom More Galleries Title.", 'framework'), 'type' => 'text'), array('name' => __('Custom More Galleries Url', 'framework'), 'id' => $prefix . 'custom_more_galleries_url', 'desc' => __("Enter Custom More Galleries Url.", 'framework'), 'type' => 'url')));
/* * **Home Page Meta Box3 *** */
$meta_boxes[] = array('id' => 'template-home3', 'title' => __('Galleries Metabox', 'framework'), 'pages' => array('page'), 'show_names' => true, 'fields' => array(array('name' => __('Number of Galleries to show on home page.', 'framework'), 'id' => $prefix . 'galleries_to_show_on', 'desc' => __("Enter the number of Galleries to show on Home page example - 3 .", 'framework'), 'type' => 'text', 'std' => '')));
/* * **Home Page Meta Box4 *** */
$meta_boxes[] = array('id' => 'template-home4', 'title' => __('Featured Blocks Metabox', 'framework'), 'pages' => array('page'), 'show_names' => true, 'fields' => array(array('name' => __('Featured Blocks to show on home page.', 'framework'), 'id' => $prefix . 'home_featured_blocks', 'desc' => __("Enter the Featured Block comma separated Id to show on Home page example - 1,2,3", 'framework'), 'type' => 'text', 'std' => ''), array('name' => __('Featured Blocks First title to show on home page.', 'framework'), 'id' => $prefix . 'home_featured_blocks1', 'desc' => __("Enter the Featured Block First title to show on Home", 'framework'), 'type' => 'text', 'std' => ''), array('name' => __('Featured Blocks Second title to show on home page.', 'framework'), 'id' => $prefix . 'home_featured_blocks2', 'desc' => __("Enter the Featured Block Second title to show on Home", 'framework'), 'type' => 'text', 'std' => ''), array('name' => __('Featured Blocks Third title to show on home page.', 'framework'), 'id' => $prefix . 'home_featured_blocks3', 'desc' => __("Enter the Featured Block Third title to show on Home", 'framework'), 'type' => 'text', 'std' => '')));
/* * **Home Page Meta Box5 *** */
$meta_boxes[] = array('id' => 'template-home5', 'title' => __('Recent Posts Metabox', 'framework'), 'pages' => array('page'), 'show_names' => true, 'fields' => array(array('name' => __('Number of Recent Posts to show on home page.', 'framework'), 'id' => $prefix . 'posts_to_show_on', 'desc' => __("Enter the number of Recent Posts to show on Home page example - 3 .", 'framework'), 'type' => 'text', 'std' => '')));
/* * **Home Page Meta Box6 *** */
$meta_boxes[] = array('id' => 'template-home6', 'title' => __('What you want to show Latest sermon or latest events', 'framework'), 'pages' => array('page'), 'show_names' => true, 'fields' => array(array('name' => __('Latest sermon or latest events show on home page.', 'framework'), 'id' => $prefix . 'latest_sermon_events_to_show_on', 'desc' => __("Choose Latest item to show  on Home page", 'framework'), 'type' => 'select', 'options' => array('letest_event' => __('Latest event', 'framework'), 'letest_sermon' => __('Latest Sermon', 'framework'))), array('name' => __('All Event/Sermon Url.', 'framework'), 'id' => $prefix . 'all_event_sermon_url', 'desc' => __("Enter Event/Sermon Url", 'framework'), 'type' => 'text', 'std' => '')));
/* * **Home Second Meta Box1 *** */
$meta_boxes[] = array('id' => 'template-h-second-1', 'title' => __('Category show Box', 'textdomain'), 'pages' => array('page'), 'show_names' => true, 'fields' => array(array('name' => __('Category show on home page.', 'framework'), 'id' => $prefix . 'category_to_show_on_home', 'desc' => __("Choose Category to show  on Home page", 'framework'), 'clone' => true, 'clone-group' => 'imic-clone-group', 'type' => 'select', 'options' => imic_get_cat_list()), array('name' => __('Number of Post.', 'framework'), 'id' => $prefix . 'number_of_post_cat', 'desc' => __("Enter Number of Post", 'framework'), 'type' => 'text', 'std' => '', 'clone' => true, 'clone-group' => 'imic-clone-group')));
/* * ** Gallery  Pagination Meta Box 1 *** */
$meta_boxes[] = array('id' => 'template-gallery-pagination1', 'title' => __('Gallery to show', 'framework'), 'pages' => array('page'), 'show_names' => true, 'fields' => array(array('name' => __('Number of Gallery to show.', 'framework'), 'id' => $prefix . 'gallery_pagination_to_show_on', 'desc' => __("Enter the number of gallery  to show on Gallery page example - 3 .", 'framework'), 'type' => 'text', 'std' => ''), array('name' => __('Gallery Columns Layout.', 'framework'), 'id' => $prefix . 'gallery_pagination_columns_layout', 'desc' => __("Enter the number of Columns for Layout  to show on Gallery page example - 3 .", 'framework'), 'type' => 'text', 'std' => '')));
/* * ** Gallery Masonry Meta Box 1 *** */
$meta_boxes[] = array('id' => 'template-gallery-masonry1', 'title' => __('Gallery to show', 'framework'), 'pages' => array('page'), 'show_names' => true, 'fields' => array(array('name' => __('Number of Gallery to show.', 'framework'), 'id' => $prefix . 'gallery_masonry_to_show_on', 'desc' => __("Enter the number of gallery  to show on Gallery page example - 3 .", 'framework'), 'type' => 'text', 'std' => '')));
/* * ** Gallery  Filter Meta Box 1 *** */
$meta_boxes[] = array('id' => 'template-gallery-filter1', 'title' => __('Gallery to show', 'framework'), 'pages' => array('page'), 'show_names' => true, 'fields' => array(array('name' => __('Gallery Columns Layout.', 'framework'), 'id' => $prefix . 'gallery_filter_columns_layout', 'desc' => __("Enter the number of Columns for Layout  to show on Gallery Filter page example - 3 .", 'framework'), 'type' => 'text', 'std' => '')));
/* * ******************* META BOX REGISTERING ********************** */
/**
 * Register meta boxes
 *
 * @return void
 */
function imic_register_meta_boxes()
{
    global $meta_boxes;