Initial commit
This commit is contained in:
73
acfe-php/group_65d1d4966a8df.php
Normal file
73
acfe-php/group_65d1d4966a8df.php
Normal file
@@ -0,0 +1,73 @@
|
||||
<?php
|
||||
|
||||
if( function_exists('acf_add_local_field_group') ):
|
||||
|
||||
acf_add_local_field_group(array(
|
||||
'key' => 'group_65d1d4966a8df',
|
||||
'title' => 'Главная страница',
|
||||
'fields' => array(
|
||||
array(
|
||||
'key' => 'field_65d1d4965f407',
|
||||
'label' => 'Закрепленный материал на главной',
|
||||
'name' => 'pinned_post',
|
||||
'aria-label' => '',
|
||||
'type' => 'post_object',
|
||||
'instructions' => '',
|
||||
'required' => 0,
|
||||
'conditional_logic' => 0,
|
||||
'wrapper' => array(
|
||||
'width' => '',
|
||||
'class' => '',
|
||||
'id' => '',
|
||||
),
|
||||
'post_type' => array(
|
||||
0 => 'post',
|
||||
),
|
||||
'post_status' => array(
|
||||
0 => 'publish',
|
||||
),
|
||||
'taxonomy' => '',
|
||||
'return_format' => 'object',
|
||||
'multiple' => 0,
|
||||
'save_custom' => 0,
|
||||
'save_post_status' => 'publish',
|
||||
'acfe_bidirectional' => array(
|
||||
'acfe_bidirectional_enabled' => '0',
|
||||
),
|
||||
'allow_null' => 0,
|
||||
'bidirectional' => 0,
|
||||
'ui' => 1,
|
||||
'bidirectional_target' => array(
|
||||
),
|
||||
'save_post_type' => '',
|
||||
),
|
||||
),
|
||||
'location' => array(
|
||||
array(
|
||||
array(
|
||||
'param' => 'options_page',
|
||||
'operator' => '==',
|
||||
'value' => 'theme-settings',
|
||||
),
|
||||
),
|
||||
),
|
||||
'menu_order' => 0,
|
||||
'position' => 'normal',
|
||||
'style' => 'default',
|
||||
'label_placement' => 'top',
|
||||
'instruction_placement' => 'label',
|
||||
'hide_on_screen' => '',
|
||||
'active' => true,
|
||||
'description' => '',
|
||||
'show_in_rest' => 0,
|
||||
'acfe_display_title' => '',
|
||||
'acfe_autosync' => array(
|
||||
0 => 'php',
|
||||
),
|
||||
'acfe_form' => 0,
|
||||
'acfe_meta' => '',
|
||||
'acfe_note' => '',
|
||||
'modified' => 1708963893,
|
||||
));
|
||||
|
||||
endif;
|
||||
Reference in New Issue
Block a user