navasena/wp-content/plugins/thinkai-plugin/metabox/testimonials.php

63 lines
1.5 KiB
PHP

<?php
return array(
'title' => 'Thinkai Testimonials Setting',
'id' => 'thinkai_meta_testimonials',
'icon' => 'el el-cogs',
'position' => 'normal',
'priority' => 'core',
'post_types' => array( 'testimonials' ),
'sections' => array(
array(
'id' => 'thinkai_testimonials_meta_setting',
'fields' => array(
array(
'id' => 'author_name',
'type' => 'text',
'title' => esc_html__( 'Author Name', 'thinkai' ),
),
array(
'id' => 'author_designation',
'type' => 'text',
'title' => esc_html__( 'Author Designation', 'thinkai' ),
),
array(
'id' => 'te_video_url',
'type' => 'text',
'title' => esc_html__( 'Enter Video Url', 'thinkai' ),
),
array(
'id' => 'te_video_title',
'type' => 'text',
'title' => esc_html__( 'Enter Video Title', 'thinkai' ),
),
array(
'id' => 'review_title',
'type' => 'text',
'title' => esc_html__( 'Review Title', 'thinkai' ),
),
array(
'id' => 'review_time',
'type' => 'text',
'title' => esc_html__( 'Review Time', 'thinkai' ),
),
array(
'id' => 'te_ext_link',
'type' => 'text',
'title' => esc_html__( 'External Link', 'thinkai' ),
),
array(
'id' => 'testimonial_rating',
'type' => 'select',
'title' => esc_html__( 'Choose the Client Rating', 'thinkai' ),
'options' => array(
'1' => '1',
'2' => '2',
'3' => '3',
'4' => '4',
'5' => '5',
),
),
),
),
),
);