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

53 lines
1.3 KiB
PHP
Raw Normal View History

2024-07-31 13:12:38 +07:00
<?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'),
),
)
),
),
),
),
);