Initial commit
This commit is contained in:
92
acfe-php/group_65d0f1bb433fb.php
Normal file
92
acfe-php/group_65d0f1bb433fb.php
Normal file
@@ -0,0 +1,92 @@
|
||||
<?php
|
||||
|
||||
if( function_exists('acf_add_local_field_group') ):
|
||||
|
||||
acf_add_local_field_group(array(
|
||||
'key' => 'group_65d0f1bb433fb',
|
||||
'title' => 'Поля категорий',
|
||||
'fields' => array(
|
||||
array(
|
||||
'key' => 'field_65d0f1bb4fe44',
|
||||
'label' => 'Иконка',
|
||||
'name' => 'icon',
|
||||
'aria-label' => '',
|
||||
'type' => 'image',
|
||||
'instructions' => '',
|
||||
'required' => 0,
|
||||
'conditional_logic' => 0,
|
||||
'wrapper' => array(
|
||||
'width' => '',
|
||||
'class' => '',
|
||||
'id' => '',
|
||||
),
|
||||
'return_format' => 'url',
|
||||
'library' => 'all',
|
||||
'min_width' => '',
|
||||
'min_height' => '',
|
||||
'min_size' => '',
|
||||
'max_width' => '',
|
||||
'max_height' => '',
|
||||
'max_size' => '',
|
||||
'mime_types' => '',
|
||||
'preview_size' => 'medium',
|
||||
'uploader' => '',
|
||||
'acfe_thumbnail' => 0,
|
||||
),
|
||||
array(
|
||||
'key' => 'field_65d0f5426d250',
|
||||
'label' => 'Фоновое изображение для хавера на главной',
|
||||
'name' => 'bg_image',
|
||||
'aria-label' => '',
|
||||
'type' => 'image',
|
||||
'instructions' => '',
|
||||
'required' => 0,
|
||||
'conditional_logic' => 0,
|
||||
'wrapper' => array(
|
||||
'width' => '',
|
||||
'class' => '',
|
||||
'id' => '',
|
||||
),
|
||||
'return_format' => 'array',
|
||||
'library' => 'all',
|
||||
'min_width' => '',
|
||||
'min_height' => '',
|
||||
'min_size' => '',
|
||||
'max_width' => '',
|
||||
'max_height' => '',
|
||||
'max_size' => '',
|
||||
'mime_types' => '',
|
||||
'preview_size' => 'medium',
|
||||
'uploader' => '',
|
||||
'acfe_thumbnail' => 0,
|
||||
),
|
||||
),
|
||||
'location' => array(
|
||||
array(
|
||||
array(
|
||||
'param' => 'taxonomy',
|
||||
'operator' => '==',
|
||||
'value' => 'category',
|
||||
),
|
||||
),
|
||||
),
|
||||
'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' => 1708359196,
|
||||
));
|
||||
|
||||
endif;
|
||||
Reference in New Issue
Block a user