'product_options', 'title' => esc_html__( 'Additional Title', 'aleanta' ), 'pages' => array( 'services', 'portfolio', 'post', 'page', 'product'), 'context' => 'normal', 'priority' => 'high', 'fields' => array( array( 'name' => esc_html__( 'Text', 'aleanta' ), 'id' => "add_title_text", 'desc' => "", 'type' => 'textarea', 'std' => '' ), ) ); $meta_boxes[] = array( 'id' => 'excerpt_image', 'title' => esc_html__( 'Excerpt image', 'aleanta' ), 'pages' => array( 'post' ), 'context' => 'normal', 'priority' => 'high', 'fields' => array( array( 'name' => esc_html__( 'Image', 'aleanta' ), 'id' => "excerpt_image_img", 'desc' => "", 'type' => 'image_advanced', 'max_file_uploads' => 1 ), ) ); $meta_boxes[] = array( 'id' => 'portfolio_description', 'title' => esc_html__( 'Description for Custom Layout', 'aleanta' ), 'pages' => array('portfolio'), 'context' => 'normal', 'priority' => 'high', 'fields' => array( array( 'name' => esc_html__( 'Text', 'aleanta' ), 'id' => 'portfolio_desc', 'desc' => '', 'type' => 'wysiwyg', 'std' => '' ), ) ); $meta_boxes[] = array( 'id' => 'portfolio_meta', 'title' => esc_html__( 'Portfolio Meta', 'aleanta' ), 'pages' => array( 'portfolio' ), 'context' => 'normal', 'priority' => 'high', 'autosave' => true, 'fields' => array( array( 'name' => esc_html__( 'Created by', 'aleanta' ), 'id' => 'portfolio_create', 'type' => 'text', 'desc' => esc_html__( 'Enter author name', 'aleanta' ) ), array( 'name' => esc_html__( 'Completed on', 'aleanta' ), 'id' => 'portfolio_complete', 'type' => 'date', 'js_options' => array('dateFormat' => 'MM d, yy'), 'desc' => esc_html__( 'Enter date', 'aleanta' ) ), array( 'name' => esc_html__( 'Skills', 'aleanta' ), 'id' => 'portfolio_skills', 'type' => 'text', 'desc' => esc_html__( 'Enter skills', 'aleanta' ) ), array( 'name' => esc_html__( 'Client', 'aleanta' ), 'id' => 'portfolio_client', 'type' => 'text', 'desc' => esc_html__( 'Enter client name', 'aleanta' ) ), array( 'name' => esc_html__( 'Client link', 'aleanta' ), 'id' => 'portfolio_client_link', 'type' => 'text', 'desc' => esc_html__( 'Enter client link eg (http://wordpress.com/)', 'aleanta' ) ), array( 'name' => esc_html__( 'Project link', 'aleanta' ), 'id' => 'portfolio_button_link', 'type' => 'text', 'desc' => esc_html__( 'Enter project link eg (http://wordpress.com/). Leave empty to hide button View project', 'aleanta' ) ), ) ); $meta_boxes[] = array( 'id' => 'post_types', 'title' => esc_html__( 'Portfolio Option', 'aleanta' ), 'pages' => array( 'portfolio' ), 'context' => 'normal', 'priority' => 'high', 'autosave' => true, 'fields' => array( array( 'name' => esc_html__( 'Post Types', 'aleanta' ), 'id' => "post_types_select", 'type' => 'select', 'desc' => 'Select post types', 'options' => array( 'image' => 'Image', 'video' => 'Video', ) ), array( 'name' => esc_html__( 'Post Type For Image', 'aleanta' ), 'id' => 'portfolio_images', 'type' => 'image_advanced', 'max_file_uploads' => 25, 'desc' => esc_html__( 'Upload images for your portfolio post.', 'aleanta' ), ), array( 'name' => esc_html__( 'Post Type For Video', 'aleanta' ), 'id' => 'portfolio_video_href', 'type' => 'text', 'desc' => 'Enter video link eg (http://youtu.be/DoRMzGR7ZDA)' ), array( 'name' => esc_html__( '.', 'aleanta' ), 'id' => "portfolio_video_width", 'type' => 'slider', 'desc' => esc_html__('Range video width', 'aleanta'), 'suffix' => esc_html__( ' px', 'aleanta' ), 'js_options' => array( 'min' => 100, 'max' => 2000, 'step' => 10, ), ), array( 'name' => esc_html__( '.', 'aleanta' ), 'id' => "portfolio_video_height", 'type' => 'slider', 'desc' => esc_html__('Range video height', 'aleanta'), 'suffix' => esc_html__( ' px', 'aleanta' ), 'js_options' => array( 'min' => 100, 'max' => 1000, 'step' => 5, ), ), ) ); $meta_boxes[] = array( 'id' => 'post_format', 'title' => esc_html__( 'Post Format Options', 'aleanta' ), 'pages' => array( 'post' ), 'context' => 'normal', 'priority' => 'low', 'autosave' => true, 'fields' => array( array( 'name' => esc_html__('Post Standared:', 'aleanta' ), 'id' => "post_standared", 'type' => 'file_advanced', 'max_file_uploads' => 4, 'mime_type' => 'image,application,audio,video', ), array( 'name' => esc_html__('Post Gallery:','aleanta'), 'id' => "post_gallery", 'type' => 'image_advanced', 'max_file_uploads' => 25, ), array( 'name' => esc_html__('Quote Source:', 'aleanta'), 'id' => "post_quote_source", 'desc' => '', 'type' => 'text', 'std' => '', ), array( 'name' => esc_html__('Quote Content:', 'aleanta'), 'id' => "post_quote_content", 'desc' => '', 'type' => 'textarea', 'std' => '', ), array( 'name' => esc_html__('Video','aleanta'), 'id' => "post_video", 'desc' => 'Video URL', 'type' => 'textarea', 'std' => '', ) ) ); return $meta_boxes; }