Initial commit
This commit is contained in:
1120
acfe-php/group_65d0befc4dd22.php
Normal file
1120
acfe-php/group_65d0befc4dd22.php
Normal file
File diff suppressed because it is too large
Load Diff
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;
|
||||
134
acfe-php/group_65d108cf78656.php
Normal file
134
acfe-php/group_65d108cf78656.php
Normal file
@@ -0,0 +1,134 @@
|
||||
<?php
|
||||
|
||||
if( function_exists('acf_add_local_field_group') ):
|
||||
|
||||
acf_add_local_field_group(array(
|
||||
'key' => 'group_65d108cf78656',
|
||||
'title' => 'Поля записей',
|
||||
'fields' => array(
|
||||
array(
|
||||
'key' => 'field_65d3a3ce679bb',
|
||||
'label' => 'Ещё по теме',
|
||||
'name' => 'featured_posts',
|
||||
'aria-label' => '',
|
||||
'type' => 'relationship',
|
||||
'instructions' => '',
|
||||
'required' => 0,
|
||||
'conditional_logic' => 0,
|
||||
'wrapper' => array(
|
||||
'width' => '',
|
||||
'class' => '',
|
||||
'id' => '',
|
||||
),
|
||||
'post_type' => array(
|
||||
0 => 'post',
|
||||
),
|
||||
'post_status' => array(
|
||||
0 => 'publish',
|
||||
),
|
||||
'taxonomy' => '',
|
||||
'filters' => array(
|
||||
0 => 'search',
|
||||
1 => 'taxonomy',
|
||||
),
|
||||
'return_format' => 'object',
|
||||
'acfe_bidirectional' => array(
|
||||
'acfe_bidirectional_enabled' => '0',
|
||||
),
|
||||
'min' => '',
|
||||
'max' => '',
|
||||
'elements' => '',
|
||||
'bidirectional' => 0,
|
||||
'bidirectional_target' => array(
|
||||
),
|
||||
),
|
||||
array(
|
||||
'key' => 'field_65d6156444160',
|
||||
'label' => 'Организатор',
|
||||
'name' => 'organizer',
|
||||
'aria-label' => '',
|
||||
'type' => 'text',
|
||||
'instructions' => '',
|
||||
'required' => 0,
|
||||
'conditional_logic' => 0,
|
||||
'wrapper' => array(
|
||||
'width' => '',
|
||||
'class' => '',
|
||||
'id' => '',
|
||||
),
|
||||
'default_value' => '',
|
||||
'maxlength' => '',
|
||||
'placeholder' => '',
|
||||
'prepend' => '',
|
||||
'append' => '',
|
||||
),
|
||||
array(
|
||||
'key' => 'field_65d615b744161',
|
||||
'label' => 'Телефон',
|
||||
'name' => 'phone',
|
||||
'aria-label' => '',
|
||||
'type' => 'text',
|
||||
'instructions' => '',
|
||||
'required' => 0,
|
||||
'conditional_logic' => 0,
|
||||
'wrapper' => array(
|
||||
'width' => '',
|
||||
'class' => '',
|
||||
'id' => '',
|
||||
),
|
||||
'default_value' => '',
|
||||
'maxlength' => '',
|
||||
'placeholder' => '',
|
||||
'prepend' => '',
|
||||
'append' => '',
|
||||
),
|
||||
array(
|
||||
'key' => 'field_65d61bf8f4e5e',
|
||||
'label' => 'Место проведения',
|
||||
'name' => 'location',
|
||||
'aria-label' => '',
|
||||
'type' => 'text',
|
||||
'instructions' => '',
|
||||
'required' => 0,
|
||||
'conditional_logic' => 0,
|
||||
'wrapper' => array(
|
||||
'width' => '',
|
||||
'class' => '',
|
||||
'id' => '',
|
||||
),
|
||||
'default_value' => '',
|
||||
'maxlength' => '',
|
||||
'placeholder' => '',
|
||||
'prepend' => '',
|
||||
'append' => '',
|
||||
),
|
||||
),
|
||||
'location' => array(
|
||||
array(
|
||||
array(
|
||||
'param' => 'post_type',
|
||||
'operator' => '==',
|
||||
'value' => 'post',
|
||||
),
|
||||
),
|
||||
),
|
||||
'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' => 1709192901,
|
||||
));
|
||||
|
||||
endif;
|
||||
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;
|
||||
116
acfe-php/group_65d1d88898a0f.php
Normal file
116
acfe-php/group_65d1d88898a0f.php
Normal file
@@ -0,0 +1,116 @@
|
||||
<?php
|
||||
|
||||
if( function_exists('acf_add_local_field_group') ):
|
||||
|
||||
acf_add_local_field_group(array(
|
||||
'key' => 'group_65d1d88898a0f',
|
||||
'title' => 'Поля мероприятий',
|
||||
'fields' => array(
|
||||
array(
|
||||
'key' => 'field_65d1d88809be9',
|
||||
'label' => 'Организатор',
|
||||
'name' => 'organizer',
|
||||
'aria-label' => '',
|
||||
'type' => 'text',
|
||||
'instructions' => '',
|
||||
'required' => 0,
|
||||
'conditional_logic' => 0,
|
||||
'wrapper' => array(
|
||||
'width' => '',
|
||||
'class' => '',
|
||||
'id' => '',
|
||||
),
|
||||
'default_value' => '',
|
||||
'maxlength' => '',
|
||||
'placeholder' => '',
|
||||
'prepend' => '',
|
||||
'append' => '',
|
||||
),
|
||||
array(
|
||||
'key' => 'field-65d1d8d6393e9',
|
||||
'label' => 'Дата мероприятия',
|
||||
'name' => 'date',
|
||||
'aria-label' => '',
|
||||
'type' => 'date_picker',
|
||||
'instructions' => '',
|
||||
'required' => 0,
|
||||
'conditional_logic' => 0,
|
||||
'wrapper' => array(
|
||||
'width' => '',
|
||||
'class' => '',
|
||||
'id' => '',
|
||||
),
|
||||
'display_format' => 'd/m/Y',
|
||||
'return_format' => 'Y-m-d',
|
||||
'first_day' => 1,
|
||||
),
|
||||
array(
|
||||
'key' => 'field_65d1d9763cc52',
|
||||
'label' => 'Место проведения',
|
||||
'name' => 'location',
|
||||
'aria-label' => '',
|
||||
'type' => 'text',
|
||||
'instructions' => '',
|
||||
'required' => 0,
|
||||
'conditional_logic' => 0,
|
||||
'wrapper' => array(
|
||||
'width' => '',
|
||||
'class' => '',
|
||||
'id' => '',
|
||||
),
|
||||
'default_value' => '',
|
||||
'maxlength' => '',
|
||||
'placeholder' => '',
|
||||
'prepend' => '',
|
||||
'append' => '',
|
||||
),
|
||||
array(
|
||||
'key' => 'field_65d1d9903d82f',
|
||||
'label' => 'Телефон',
|
||||
'name' => 'phone',
|
||||
'aria-label' => '',
|
||||
'type' => 'text',
|
||||
'instructions' => '',
|
||||
'required' => 0,
|
||||
'conditional_logic' => 0,
|
||||
'wrapper' => array(
|
||||
'width' => '',
|
||||
'class' => '',
|
||||
'id' => '',
|
||||
),
|
||||
'default_value' => '',
|
||||
'maxlength' => '',
|
||||
'placeholder' => '',
|
||||
'prepend' => '',
|
||||
'append' => '',
|
||||
),
|
||||
),
|
||||
'location' => array(
|
||||
array(
|
||||
array(
|
||||
'param' => 'post_type',
|
||||
'operator' => '==',
|
||||
'value' => 'events',
|
||||
),
|
||||
),
|
||||
),
|
||||
'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' => 1708512800,
|
||||
));
|
||||
|
||||
endif;
|
||||
65
acfe-php/group_65d2f68a0a54e.php
Normal file
65
acfe-php/group_65d2f68a0a54e.php
Normal file
@@ -0,0 +1,65 @@
|
||||
<?php
|
||||
|
||||
if( function_exists('acf_add_local_field_group') ):
|
||||
|
||||
acf_add_local_field_group(array(
|
||||
'key' => 'group_65d2f68a0a54e',
|
||||
'title' => 'Соцсети',
|
||||
'fields' => array(
|
||||
array(
|
||||
'key' => 'field_65d2f68a0c693',
|
||||
'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,
|
||||
),
|
||||
),
|
||||
'location' => array(
|
||||
array(
|
||||
array(
|
||||
'param' => 'nav_menu_item',
|
||||
'operator' => '==',
|
||||
'value' => 'location/socials',
|
||||
),
|
||||
),
|
||||
),
|
||||
'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' => 1708359200,
|
||||
));
|
||||
|
||||
endif;
|
||||
59
acfe-php/group_65d3799141ac6.php
Normal file
59
acfe-php/group_65d3799141ac6.php
Normal file
@@ -0,0 +1,59 @@
|
||||
<?php
|
||||
|
||||
if( function_exists('acf_add_local_field_group') ):
|
||||
|
||||
acf_add_local_field_group(array(
|
||||
'key' => 'group_65d3799141ac6',
|
||||
'title' => 'Юр. доки в подвале',
|
||||
'fields' => array(
|
||||
array(
|
||||
'key' => 'field_65d37991191e6',
|
||||
'label' => 'Файл',
|
||||
'name' => 'file',
|
||||
'aria-label' => '',
|
||||
'type' => 'file',
|
||||
'instructions' => '',
|
||||
'required' => 0,
|
||||
'conditional_logic' => 0,
|
||||
'wrapper' => array(
|
||||
'width' => '',
|
||||
'class' => '',
|
||||
'id' => '',
|
||||
),
|
||||
'return_format' => 'url',
|
||||
'library' => 'all',
|
||||
'min_size' => '',
|
||||
'max_size' => '',
|
||||
'mime_types' => '',
|
||||
'uploader' => '',
|
||||
),
|
||||
),
|
||||
'location' => array(
|
||||
array(
|
||||
array(
|
||||
'param' => 'nav_menu_item',
|
||||
'operator' => '==',
|
||||
'value' => '16',
|
||||
),
|
||||
),
|
||||
),
|
||||
'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' => 1708359202,
|
||||
));
|
||||
|
||||
endif;
|
||||
65
acfe-php/group_65d3bd583159c.php
Normal file
65
acfe-php/group_65d3bd583159c.php
Normal file
@@ -0,0 +1,65 @@
|
||||
<?php
|
||||
|
||||
if( function_exists('acf_add_local_field_group') ):
|
||||
|
||||
acf_add_local_field_group(array(
|
||||
'key' => 'group_65d3bd583159c',
|
||||
'title' => 'Поля авторов',
|
||||
'fields' => array(
|
||||
array(
|
||||
'key' => 'field_65d3bd5855304',
|
||||
'label' => 'Фото',
|
||||
'name' => 'image',
|
||||
'aria-label' => '',
|
||||
'type' => 'image',
|
||||
'instructions' => '',
|
||||
'required' => 0,
|
||||
'conditional_logic' => 0,
|
||||
'wrapper' => array(
|
||||
'width' => '',
|
||||
'class' => '',
|
||||
'id' => '',
|
||||
),
|
||||
'uploader' => '',
|
||||
'return_format' => 'array',
|
||||
'acfe_thumbnail' => 0,
|
||||
'min_width' => '',
|
||||
'min_height' => '',
|
||||
'min_size' => '',
|
||||
'max_width' => '',
|
||||
'max_height' => '',
|
||||
'max_size' => '',
|
||||
'mime_types' => '',
|
||||
'preview_size' => 'medium',
|
||||
'library' => 'all',
|
||||
),
|
||||
),
|
||||
'location' => array(
|
||||
array(
|
||||
array(
|
||||
'param' => 'user_form',
|
||||
'operator' => '==',
|
||||
'value' => 'all',
|
||||
),
|
||||
),
|
||||
),
|
||||
'menu_order' => 0,
|
||||
'position' => 'side',
|
||||
'style' => 'default',
|
||||
'label_placement' => 'left',
|
||||
'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' => 1709192431,
|
||||
));
|
||||
|
||||
endif;
|
||||
223
acfe-php/group_65d513bb359a3.php
Normal file
223
acfe-php/group_65d513bb359a3.php
Normal file
@@ -0,0 +1,223 @@
|
||||
<?php
|
||||
|
||||
if( function_exists('acf_add_local_field_group') ):
|
||||
|
||||
acf_add_local_field_group(array(
|
||||
'key' => 'group_65d513bb359a3',
|
||||
'title' => 'Рекламный формат',
|
||||
'fields' => array(
|
||||
array(
|
||||
'key' => 'field-65d50ea759ef7',
|
||||
'label' => 'Документы',
|
||||
'name' => 'documents',
|
||||
'aria-label' => '',
|
||||
'type' => 'repeater',
|
||||
'instructions' => '',
|
||||
'required' => 0,
|
||||
'conditional_logic' => 0,
|
||||
'wrapper' => array(
|
||||
'width' => '',
|
||||
'class' => '',
|
||||
'id' => '',
|
||||
),
|
||||
'acfe_repeater_stylised_button' => 0,
|
||||
'layout' => 'table',
|
||||
'pagination' => 0,
|
||||
'min' => 0,
|
||||
'max' => 0,
|
||||
'collapsed' => '',
|
||||
'button_label' => 'Добавить',
|
||||
'rows_per_page' => 20,
|
||||
'sub_fields' => array(
|
||||
array(
|
||||
'key' => 'field-65d511ba47bd7',
|
||||
'label' => 'Документ',
|
||||
'name' => 'document',
|
||||
'aria-label' => '',
|
||||
'type' => 'file',
|
||||
'instructions' => '',
|
||||
'required' => 0,
|
||||
'conditional_logic' => 0,
|
||||
'wrapper' => array(
|
||||
'width' => '',
|
||||
'class' => '',
|
||||
'id' => '',
|
||||
),
|
||||
'relevanssi_exclude' => 0,
|
||||
'uploader' => '',
|
||||
'return_format' => 'array',
|
||||
'min_size' => '',
|
||||
'max_size' => '',
|
||||
'mime_types' => '',
|
||||
'library' => 'all',
|
||||
'parent_repeater' => 'field-65d50ea759ef7',
|
||||
),
|
||||
),
|
||||
),
|
||||
array(
|
||||
'key' => 'field-65d512380557a',
|
||||
'label' => 'Контакты',
|
||||
'name' => 'contacts',
|
||||
'aria-label' => '',
|
||||
'type' => 'repeater',
|
||||
'instructions' => '',
|
||||
'required' => 0,
|
||||
'conditional_logic' => 0,
|
||||
'wrapper' => array(
|
||||
'width' => '',
|
||||
'class' => '',
|
||||
'id' => '',
|
||||
),
|
||||
'acfe_repeater_stylised_button' => 0,
|
||||
'layout' => 'table',
|
||||
'pagination' => 0,
|
||||
'min' => 0,
|
||||
'max' => 0,
|
||||
'collapsed' => '',
|
||||
'button_label' => 'Добавить',
|
||||
'rows_per_page' => 20,
|
||||
'sub_fields' => array(
|
||||
array(
|
||||
'key' => 'field-65d512f31f6e4',
|
||||
'label' => 'Фото',
|
||||
'name' => 'image',
|
||||
'aria-label' => '',
|
||||
'type' => 'image',
|
||||
'instructions' => '',
|
||||
'required' => 0,
|
||||
'conditional_logic' => 0,
|
||||
'wrapper' => array(
|
||||
'width' => '',
|
||||
'class' => '',
|
||||
'id' => '',
|
||||
),
|
||||
'uploader' => '',
|
||||
'return_format' => 'array',
|
||||
'acfe_thumbnail' => 0,
|
||||
'min_width' => '',
|
||||
'min_height' => '',
|
||||
'min_size' => '',
|
||||
'max_width' => '',
|
||||
'max_height' => '',
|
||||
'max_size' => '',
|
||||
'mime_types' => '',
|
||||
'preview_size' => 'medium',
|
||||
'library' => 'all',
|
||||
'parent_repeater' => 'field-65d512380557a',
|
||||
),
|
||||
array(
|
||||
'key' => 'field-65d512fd1f6e5',
|
||||
'label' => 'ФИО',
|
||||
'name' => 'name',
|
||||
'aria-label' => '',
|
||||
'type' => 'text',
|
||||
'instructions' => '',
|
||||
'required' => 0,
|
||||
'conditional_logic' => 0,
|
||||
'wrapper' => array(
|
||||
'width' => '',
|
||||
'class' => '',
|
||||
'id' => '',
|
||||
),
|
||||
'default_value' => '',
|
||||
'maxlength' => '',
|
||||
'placeholder' => '',
|
||||
'prepend' => '',
|
||||
'append' => '',
|
||||
'parent_repeater' => 'field-65d512380557a',
|
||||
),
|
||||
array(
|
||||
'key' => 'field-65d513031f6e6',
|
||||
'label' => 'Должность',
|
||||
'name' => 'position',
|
||||
'aria-label' => '',
|
||||
'type' => 'text',
|
||||
'instructions' => '',
|
||||
'required' => 0,
|
||||
'conditional_logic' => 0,
|
||||
'wrapper' => array(
|
||||
'width' => '',
|
||||
'class' => '',
|
||||
'id' => '',
|
||||
),
|
||||
'default_value' => '',
|
||||
'maxlength' => '',
|
||||
'placeholder' => '',
|
||||
'prepend' => '',
|
||||
'append' => '',
|
||||
'parent_repeater' => 'field-65d512380557a',
|
||||
),
|
||||
array(
|
||||
'key' => 'field-65d5130d1f6e7',
|
||||
'label' => 'Телефон',
|
||||
'name' => 'phone',
|
||||
'aria-label' => '',
|
||||
'type' => 'text',
|
||||
'instructions' => '',
|
||||
'required' => 0,
|
||||
'conditional_logic' => 0,
|
||||
'wrapper' => array(
|
||||
'width' => '',
|
||||
'class' => '',
|
||||
'id' => '',
|
||||
),
|
||||
'default_value' => '',
|
||||
'maxlength' => '',
|
||||
'placeholder' => '',
|
||||
'prepend' => '',
|
||||
'append' => '',
|
||||
'parent_repeater' => 'field-65d512380557a',
|
||||
),
|
||||
array(
|
||||
'key' => 'field-65d513131f6e8',
|
||||
'label' => 'Email',
|
||||
'name' => 'email',
|
||||
'aria-label' => '',
|
||||
'type' => 'text',
|
||||
'instructions' => '',
|
||||
'required' => 0,
|
||||
'conditional_logic' => 0,
|
||||
'wrapper' => array(
|
||||
'width' => '',
|
||||
'class' => '',
|
||||
'id' => '',
|
||||
),
|
||||
'default_value' => '',
|
||||
'maxlength' => '',
|
||||
'placeholder' => '',
|
||||
'prepend' => '',
|
||||
'append' => '',
|
||||
'parent_repeater' => 'field-65d512380557a',
|
||||
),
|
||||
),
|
||||
),
|
||||
),
|
||||
'location' => array(
|
||||
array(
|
||||
array(
|
||||
'param' => 'post_type',
|
||||
'operator' => '==',
|
||||
'value' => 'advertiser',
|
||||
),
|
||||
),
|
||||
),
|
||||
'menu_order' => 0,
|
||||
'position' => 'normal',
|
||||
'style' => 'default',
|
||||
'label_placement' => 'left',
|
||||
'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' => 1709227831,
|
||||
));
|
||||
|
||||
endif;
|
||||
133
acfe-php/group_65d5e33ea5255.php
Normal file
133
acfe-php/group_65d5e33ea5255.php
Normal file
@@ -0,0 +1,133 @@
|
||||
<?php
|
||||
|
||||
if( function_exists('acf_add_local_field_group') ):
|
||||
|
||||
acf_add_local_field_group(array(
|
||||
'key' => 'group_65d5e33ea5255',
|
||||
'title' => 'Редакция ( Для страницы о проекте )',
|
||||
'fields' => array(
|
||||
array(
|
||||
'key' => 'field_65d5e33eb8886',
|
||||
'label' => 'Люди редакции',
|
||||
'name' => 'editorial-people',
|
||||
'aria-label' => '',
|
||||
'type' => 'repeater',
|
||||
'instructions' => '',
|
||||
'required' => 0,
|
||||
'conditional_logic' => 0,
|
||||
'wrapper' => array(
|
||||
'width' => '',
|
||||
'class' => '',
|
||||
'id' => '',
|
||||
),
|
||||
'acfe_repeater_stylised_button' => 0,
|
||||
'layout' => 'table',
|
||||
'pagination' => 0,
|
||||
'min' => 0,
|
||||
'max' => 0,
|
||||
'collapsed' => '',
|
||||
'button_label' => 'Добавить',
|
||||
'rows_per_page' => 20,
|
||||
'sub_fields' => array(
|
||||
array(
|
||||
'key' => 'field_65d5e41fb8889',
|
||||
'label' => 'Изображение',
|
||||
'name' => 'image',
|
||||
'aria-label' => '',
|
||||
'type' => 'image',
|
||||
'instructions' => '',
|
||||
'required' => 0,
|
||||
'conditional_logic' => 0,
|
||||
'wrapper' => array(
|
||||
'width' => '',
|
||||
'class' => '',
|
||||
'id' => '',
|
||||
),
|
||||
'uploader' => '',
|
||||
'return_format' => 'array',
|
||||
'acfe_thumbnail' => 0,
|
||||
'min_width' => '',
|
||||
'min_height' => '',
|
||||
'min_size' => '',
|
||||
'max_width' => '',
|
||||
'max_height' => '',
|
||||
'max_size' => '',
|
||||
'mime_types' => '',
|
||||
'preview_size' => 'medium',
|
||||
'library' => 'all',
|
||||
'parent_repeater' => 'field_65d5e33eb8886',
|
||||
),
|
||||
array(
|
||||
'key' => 'field_65d5e3e9b8887',
|
||||
'label' => 'ФИО',
|
||||
'name' => 'name',
|
||||
'aria-label' => '',
|
||||
'type' => 'text',
|
||||
'instructions' => '',
|
||||
'required' => 0,
|
||||
'conditional_logic' => 0,
|
||||
'wrapper' => array(
|
||||
'width' => '',
|
||||
'class' => '',
|
||||
'id' => '',
|
||||
),
|
||||
'default_value' => '',
|
||||
'maxlength' => '',
|
||||
'placeholder' => '',
|
||||
'prepend' => '',
|
||||
'append' => '',
|
||||
'parent_repeater' => 'field_65d5e33eb8886',
|
||||
),
|
||||
array(
|
||||
'key' => 'field_65d5e40db8888',
|
||||
'label' => 'Должность',
|
||||
'name' => 'position',
|
||||
'aria-label' => '',
|
||||
'type' => 'text',
|
||||
'instructions' => '',
|
||||
'required' => 0,
|
||||
'conditional_logic' => 0,
|
||||
'wrapper' => array(
|
||||
'width' => '',
|
||||
'class' => '',
|
||||
'id' => '',
|
||||
),
|
||||
'default_value' => '',
|
||||
'maxlength' => '',
|
||||
'placeholder' => '',
|
||||
'prepend' => '',
|
||||
'append' => '',
|
||||
'parent_repeater' => 'field_65d5e33eb8886',
|
||||
),
|
||||
),
|
||||
),
|
||||
),
|
||||
'location' => array(
|
||||
array(
|
||||
array(
|
||||
'param' => 'post_type',
|
||||
'operator' => '==',
|
||||
'value' => 'page',
|
||||
),
|
||||
),
|
||||
),
|
||||
'menu_order' => 0,
|
||||
'position' => 'normal',
|
||||
'style' => 'default',
|
||||
'label_placement' => 'left',
|
||||
'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' => 1708516426,
|
||||
));
|
||||
|
||||
endif;
|
||||
Reference in New Issue
Block a user