'single_post_full', 'title' => esc_html__('Single Post Full', 'nanopress'), 'pages' => array('post'), // Post type 'context' => 'normal', 'priority' => 'high', 'fields' => array( array( 'label' => esc_html__('Enable Review', 'nanopress'), 'desc' => esc_html__('Check this to enable single post full.', 'nanopress'), 'id' => 'single_post_full_single_post_full', 'type' => 'checkbox' ), ) ); $metaboxes[] = array( 'id' => 'review_control', 'title' => esc_html__('Post review and user rating', 'nanopress'), 'pages' => array('post'), // Post type 'context' => 'normal', 'priority' => 'high', 'fields' => array( array( 'label' => esc_html__('Rating Criteria', 'nanopress'), 'desc' => esc_html__('Label : A name of criteria - Score : A number value between 0 - 10, incerement 0.1.', 'nanopress'), 'id' => $prefix . 'rating_criteria', 'type' => 'rating_criteria' ), array( 'label' => esc_html__('Rating Type', 'nanopress'), 'desc' => esc_html__('Select the rating type', 'nanopress'), 'id' => $prefix . 'rating_type', 'type' => 'select', 'options' => array ( 'star' => 'Star', 'number' => 'Number', 'letter' => 'Letter Grade', 'percent' => 'Percentage') ), array( 'label' => esc_html__('Review Title', 'nanopress'), 'desc' => esc_html__('Title of review box in the single post.', 'nanopress'), 'id' => $prefix . 'review_box_title', 'type' => 'text', 'std' => 'Review Overview' ), array( 'label' => esc_html__('Summary', 'nanopress'), 'desc' => esc_html__('Summary for of review box in single post.', 'nanopress'), 'id' => $prefix . 'review_summary', 'type' => 'textarea', 'std' => 'Description' ), ) ); return $metaboxes; }