first commit
This commit is contained in:
38
wp-content/plugins/thinkai-plugin/metabox/projects.php
Normal file
38
wp-content/plugins/thinkai-plugin/metabox/projects.php
Normal file
@@ -0,0 +1,38 @@
|
||||
<?php
|
||||
return array(
|
||||
'title' => 'Thinkai Project Setting',
|
||||
'id' => 'thinkai_meta_projects',
|
||||
'icon' => 'el el-cogs',
|
||||
'position' => 'normal',
|
||||
'priority' => 'core',
|
||||
'post_types' => array( 'project' ),
|
||||
'sections' => array(
|
||||
array(
|
||||
'id' => 'thinkai_projects_meta_setting',
|
||||
'fields' => array(
|
||||
array(
|
||||
'id' => 'project_designation',
|
||||
'type' => 'text',
|
||||
'title' => esc_html__( 'Project Designation', 'thinkai' ),
|
||||
),
|
||||
array(
|
||||
'id' => 'dimension',
|
||||
'type' => 'select',
|
||||
'title' => esc_html__( 'Choose the Extra height', 'thinkai' ),
|
||||
'options' => array(
|
||||
'default_height' => esc_html__( 'Default Height', 'thinkai' ),
|
||||
'normal_height' => esc_html__( 'Normal Height', 'thinkai' ),
|
||||
'extra_height' => esc_html__( 'Extra Height', 'thinkai' ),
|
||||
'extra_width' => esc_html__( 'Extra Width', 'thinkai' ),
|
||||
),
|
||||
'default' => 'default_height',
|
||||
),
|
||||
array(
|
||||
'id' => 'project_ext_link',
|
||||
'type' => 'text',
|
||||
'title' => esc_html__( 'External Link', 'thinkai' ),
|
||||
),
|
||||
),
|
||||
),
|
||||
),
|
||||
);
|
||||
Reference in New Issue
Block a user