'blogup-post-options', 'title' => esc_html__('Post Options', 'blogup'), 'post_types' => array('post'), 'position' => 'normal', // normal, advanced, side 'priority' => 'high', // high, core, default, low 'sections' => $sections, ); } /** * Get configuration array for video post metaboxes * @return type */ function blogup_redux_get_video_post_metaboxes() { // Variable used to store the configuration array of sections $sections = array(); // Metabox used to overwrite theme options by page require get_theme_file_path('framework/admin/metaboxes/post-video.php'); return array( 'id' => 'blogup-video-post-options', 'title' => esc_html__('Video Post Options', 'blogup'), 'post_types' => array('post'), 'position' => 'normal', // normal, advanced, side 'priority' => 'high', // high, core, default, low 'sections' => $sections, 'post_format' => array('video') ); } /** * Get configuration array for qoute post metaboxes * @return type */ function blogup_redux_get_quote_post_metaboxes() { // Variable used to store the configuration array of sections $sections = array(); // Metabox used to overwrite theme options by page require get_theme_file_path('framework/admin/metaboxes/post-quote.php'); return array( 'id' => 'blogup-quote-post-options', 'title' => esc_html__('Quote Post Options', 'blogup'), 'post_types' => array('post'), 'position' => 'normal', // normal, advanced, side 'priority' => 'high', // high, core, default, low 'sections' => $sections, 'post_format' => array('quote') ); } /** * Get configuration array for video post metaboxes * @return type */ function blogup_redux_get_review_post_metaboxes() { // Variable used to store the configuration array of sections $sections = array(); // Metabox used to overwrite theme options by page require get_theme_file_path('framework/admin/metaboxes/post-review.php'); return array( 'id' => 'blogup-review-post-options', 'title' => esc_html__('Review Post Options', 'blogup'), 'post_types' => array('post'), 'position' => 'normal', // normal, advanced, side 'priority' => 'high', // high, core, default, low 'sections' => $sections, 'post_format' => array('aside') ); } /** * Get configuration array for video post metaboxes * @return type */ function blogup_redux_get_audio_post_metaboxes() { // Variable used to store the configuration array of sections $sections = array(); // Metabox used to overwrite theme options by page require get_theme_file_path('framework/admin/metaboxes/post-audio.php'); return array( 'id' => 'blogup-audio-post-options', 'title' => esc_html__('Audio Post Options', 'blogup'), 'post_types' => array('post'), 'position' => 'normal', // normal, advanced, side 'priority' => 'high', // high, core, default, low 'sections' => $sections, 'post_format' => array('audio') ); } /** * Get configuration array for video post metaboxes * @return type */ function blogup_redux_get_gallery_post_metaboxes() { // Variable used to store the configuration array of sections $sections = array(); // Metabox used to overwrite theme options by page require get_theme_file_path('framework/admin/metaboxes/post-gallery.php'); return array( 'id' => 'blogup-gallery-post-options', 'title' => esc_html__('Gallery Post Options', 'blogup'), 'post_types' => array('post'), 'position' => 'normal', // normal, advanced, side 'priority' => 'high', // high, core, default, low 'sections' => $sections, 'post_format' => array('gallery') ); }