first commit
This commit is contained in:
53
wp-content/plugins/thinkai-plugin/metabox/team.php
Normal file
53
wp-content/plugins/thinkai-plugin/metabox/team.php
Normal file
@@ -0,0 +1,53 @@
|
||||
<?php
|
||||
return array(
|
||||
'title' => 'Thinkai Team Setting',
|
||||
'id' => 'thinkai_meta_team',
|
||||
'icon' => 'el el-cogs',
|
||||
'position' => 'normal',
|
||||
'priority' => 'core',
|
||||
'post_types' => array( 'team' ),
|
||||
'sections' => array(
|
||||
array(
|
||||
'id' => 'thinkai_team_meta_setting',
|
||||
'fields' => array(
|
||||
array(
|
||||
'id' => 'team_overlay_image',
|
||||
'type' => 'media',
|
||||
'title' => esc_html__( 'Team Overlay Image', 'thinkai' ),
|
||||
),
|
||||
array(
|
||||
'id' => 'designation',
|
||||
'type' => 'text',
|
||||
'title' => esc_html__( 'Designation', 'thinkai' ),
|
||||
),
|
||||
array(
|
||||
'id' => 'team_email',
|
||||
'type' => 'text',
|
||||
'title' => esc_html__( 'Email Address', 'thinkai' ),
|
||||
),
|
||||
array(
|
||||
'id' => 'social_media_tabs',
|
||||
'type' => 'repeater',
|
||||
'icon' => 'el-icon-thumbs-up',
|
||||
'title' => __('Add Social Media', 'thinkai'),
|
||||
'group_values' => true,
|
||||
'sortable' => true,
|
||||
'fields' => array(
|
||||
array(
|
||||
'id' => 'select_social_media',
|
||||
'type' => 'select',
|
||||
'data' => get_fontawesome_icons(),
|
||||
'title' => esc_html__('Choose Social Media', 'thinkai'),
|
||||
),
|
||||
array(
|
||||
'id' => 'link_social_media',
|
||||
'type' => 'text',
|
||||
'title' => __('Link', 'thinkai'),
|
||||
),
|
||||
)
|
||||
),
|
||||
|
||||
),
|
||||
),
|
||||
),
|
||||
);
|
||||
Reference in New Issue
Block a user