add_action( 'acf/include_fields', function() {
if ( ! function_exists( 'acf_add_local_field_group' ) ) {
return;
}
acf_add_local_field_group( array(
'key' => 'group_66fc1db44ac2f',
'title' => 'Свойства страницы',
'fields' => array(
array(
'key' => 'field_6a54a479c50f4',
'label' => 'Название в каталоге',
'name' => 'catalog_title',
'aria-label' => '',
'type' => 'text',
'instructions' => 'Название в карточке каталога.
Если значение не указано, будет выводиться заголовок.',
'required' => 0,
'conditional_logic' => 0,
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'default_value' => '',
'maxlength' => '',
'allow_in_bindings' => 0,
'placeholder' => '',
'prepend' => '',
'append' => '',
),
array(
'key' => 'field_66febbfea9e42',
'label' => 'Шаблон',
'name' => 'template',
'aria-label' => '',
'type' => 'select',
'instructions' => '',
'required' => 0,
'conditional_logic' => 0,
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'choices' => array(
'subject' => 'Предмет',
'book' => 'Учебник',
'grade' => 'Класс',
'task' => 'Задача',
),
'default_value' => false,
'return_format' => 'value',
'multiple' => 0,
'allow_null' => 1,
'ui' => 1,
'ajax' => 0,
'placeholder' => '',
'create_options' => 0,
'save_options' => 0,
'allow_custom' => 0,
'search_placeholder' => '',
),
array(
'key' => 'field_66febdeca9e43',
'label' => 'Предмет',
'name' => 'subject',
'aria-label' => '',
'type' => 'group',
'instructions' => '',
'required' => 0,
'conditional_logic' => array(
array(
array(
'field' => 'field_66febbfea9e42',
'operator' => '==',
'value' => 'subject',
),
),
),
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'layout' => 'block',
'acfe_seamless_style' => 0,
'acfe_group_modal' => 0,
'acfe_group_modal_close' => 0,
'acfe_group_modal_button' => '',
'acfe_group_modal_size' => 'large',
'sub_fields' => array(
array(
'key' => 'field_6700032466574',
'label' => 'Картинка',
'name' => 'image',
'aria-label' => '',
'type' => 'image',
'instructions' => '',
'required' => 0,
'conditional_logic' => 0,
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'uploader' => '',
'return_format' => 'id',
'library' => 'all',
'acfe_thumbnail' => 0,
'min_width' => '',
'min_height' => '',
'min_size' => '',
'max_width' => '',
'max_height' => '',
'max_size' => '',
'mime_types' => '',
'allow_in_bindings' => 1,
'preview_size' => 'medium',
),
array(
'key' => 'field_670d4d804ce9a',
'label' => 'Цвет',
'name' => 'color',
'aria-label' => '',
'type' => 'select',
'instructions' => '',
'required' => 1,
'conditional_logic' => 0,
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'choices' => array(
'red' => 'Красный',
'green' => 'Зелёный',
'violet' => 'Фиолетовый',
'yellow' => 'Жёлтый',
'orange' => 'Оранжевый',
'blue' => 'Синий',
'pink' => 'Розовый',
'cyan' => 'Голубой',
'purple' => 'Пурпурный',
),
'default_value' => 'red',
'return_format' => 'value',
'multiple' => 0,
'allow_null' => 0,
'ui' => 0,
'ajax' => 0,
'placeholder' => '',
'create_options' => 0,
'save_options' => 0,
'allow_custom' => 0,
'search_placeholder' => '',
),
),
),
array(
'key' => 'field_66febe20a9e47',
'label' => 'Учебник',
'name' => 'book',
'aria-label' => '',
'type' => 'group',
'instructions' => '',
'required' => 0,
'conditional_logic' => array(
array(
array(
'field' => 'field_66febbfea9e42',
'operator' => '==',
'value' => 'book',
),
),
),
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'layout' => 'block',
'acfe_seamless_style' => 0,
'acfe_group_modal' => 0,
'acfe_group_modal_close' => 0,
'acfe_group_modal_button' => '',
'acfe_group_modal_size' => 'large',
'sub_fields' => array(
array(
'key' => 'field_670003e266575',
'label' => 'Обложка',
'name' => 'image',
'aria-label' => '',
'type' => 'image',
'instructions' => '',
'required' => 0,
'conditional_logic' => 0,
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'uploader' => '',
'return_format' => 'id',
'library' => 'all',
'acfe_thumbnail' => 0,
'min_width' => '',
'min_height' => '',
'min_size' => '',
'max_width' => '',
'max_height' => '',
'max_size' => '',
'mime_types' => '',
'allow_in_bindings' => 1,
'preview_size' => 'medium',
),
array(
'key' => 'field_670005d670bc7',
'label' => 'Свойства',
'name' => 'params',
'aria-label' => '',
'type' => 'textarea',
'instructions' => 'Каждое свойство должно быть с новой строки
Строка должна быть в формате:
название||значение',
'required' => 0,
'conditional_logic' => 0,
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'default_value' => '',
'maxlength' => '',
'rows' => '',
'placeholder' => '',
'new_lines' => '',
'acfe_textarea_code' => 0,
),
array(
'key' => 'field_6a4d0450041c2',
'label' => 'Автоматическое формирование глав',
'name' => 'auto_chapter',
'aria-label' => '',
'type' => 'true_false',
'instructions' => 'Автоматически формировать и выводить заголовки с главами.
Главы формируются на основе повторяющихся слов в начале каждого из уроков.
Повторяющаяся часть автоматически будет вырезана из заголовка уроков.',
'required' => 0,
'conditional_logic' => 0,
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'message' => '',
'default_value' => 0,
'allow_in_bindings' => 0,
'ui_on_text' => '',
'ui_off_text' => '',
'ui' => 1,
),
),
),
array(
'key' => 'field_66febe1ea9e45',
'label' => 'Задача',
'name' => 'task',
'aria-label' => '',
'type' => 'group',
'instructions' => '',
'required' => 0,
'conditional_logic' => array(
array(
array(
'field' => 'field_66febbfea9e42',
'operator' => '==',
'value' => 'task',
),
),
),
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'layout' => 'block',
'acfe_seamless_style' => 0,
'acfe_group_modal' => 0,
'acfe_group_modal_close' => 0,
'acfe_group_modal_button' => '',
'acfe_group_modal_size' => 'large',
'sub_fields' => array(
array(
'key' => 'field_6700129da3950',
'label' => 'Номер',
'name' => 'number',
'aria-label' => '',
'type' => 'text',
'instructions' => '',
'required' => 1,
'conditional_logic' => 0,
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'default_value' => '',
'maxlength' => '',
'placeholder' => '',
'prepend' => '',
'append' => '',
),
array(
'key' => 'field_670020b162c4e',
'label' => 'Подпись под номером',
'name' => 'caption',
'aria-label' => '',
'type' => 'text',
'instructions' => 'Например, номер страницы',
'required' => 0,
'conditional_logic' => 0,
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'default_value' => '',
'maxlength' => '',
'placeholder' => '',
'prepend' => '',
'append' => '',
),
array(
'key' => 'field_67210f23cf2ba',
'label' => 'Название урока',
'name' => 'lesson',
'aria-label' => '',
'type' => 'text',
'instructions' => '',
'required' => 0,
'conditional_logic' => 0,
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'default_value' => '',
'maxlength' => '',
'placeholder' => '',
'prepend' => '',
'append' => '',
),
array(
'key' => 'field_66febedfe7366',
'label' => 'Часть',
'name' => 'part',
'aria-label' => '',
'type' => 'text',
'instructions' => '',
'required' => 0,
'conditional_logic' => 0,
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'default_value' => '',
'maxlength' => '',
'placeholder' => '',
'prepend' => '',
'append' => '',
),
array(
'key' => 'field_670d4a772c34c',
'label' => 'Задачи',
'name' => 'tasks',
'aria-label' => '',
'type' => 'flexible_content',
'instructions' => '',
'required' => 0,
'conditional_logic' => 0,
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'layouts' => array(
'layout_task_section' => array(
'key' => 'layout_task_section',
'name' => 'task_section',
'label' => 'Задача',
'display' => 'block',
'sub_fields' => array(
array(
'key' => 'field_task_section_text_title',
'label' => 'Заголовок блока',
'name' => 'text_title',
'aria-label' => '',
'type' => 'text',
'instructions' => '',
'required' => 0,
'conditional_logic' => 0,
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'default_value' => 'Задача',
'maxlength' => '',
'allow_in_bindings' => 1,
'placeholder' => '',
'prepend' => '',
'append' => '',
),
array(
'key' => 'field_task_section_text',
'label' => 'Текст',
'name' => 'text',
'aria-label' => '',
'type' => 'wysiwyg',
'instructions' => '',
'required' => 0,
'conditional_logic' => 0,
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'default_value' => '',
'tabs' => 'all',
'toolbar' => 'full',
'media_upload' => 1,
'delay' => 0,
),
array(
'key' => 'field_task_section_text_border_color',
'label' => 'Цвет рамки',
'name' => 'text_border_color',
'aria-label' => '',
'type' => 'color_picker',
'instructions' => '',
'required' => 0,
'conditional_logic' => 0,
'wrapper' => array(
'width' => '33',
'class' => '',
'id' => '',
),
'default_value' => '#eff2fa',
'enable_opacity' => 1,
'return_format' => 'string',
'custom_palette_source' => '',
'palette_colors' => '',
'show_color_wheel' => true,
),
array(
'key' => 'field_task_section_text_background_color',
'label' => 'Цвет фона',
'name' => 'text_background_color',
'aria-label' => '',
'type' => 'color_picker',
'instructions' => '',
'required' => 0,
'conditional_logic' => 0,
'wrapper' => array(
'width' => '33',
'class' => '',
'id' => '',
),
'default_value' => '#eff2fa',
'enable_opacity' => 1,
'return_format' => 'string',
'custom_palette_source' => '',
'palette_colors' => '',
'show_color_wheel' => true,
),
array(
'key' => 'field_task_section_text_font_color',
'label' => 'Цвет текста',
'name' => 'text_font_color',
'aria-label' => '',
'type' => 'color_picker',
'instructions' => '',
'required' => 0,
'conditional_logic' => 0,
'wrapper' => array(
'width' => '33',
'class' => '',
'id' => '',
),
'default_value' => '#5d5d7e',
'enable_opacity' => 1,
'return_format' => 'string',
'custom_palette_source' => '',
'palette_colors' => '',
'show_color_wheel' => true,
),
array(
'key' => 'field_task_section_text_border_color_dark',
'label' => 'Цвет рамки, тёмная тема',
'name' => 'text_border_color_dark',
'aria-label' => '',
'type' => 'color_picker',
'instructions' => '',
'required' => 0,
'conditional_logic' => 0,
'wrapper' => array(
'width' => '33',
'class' => '',
'id' => '',
),
'default_value' => '#ffffff',
'enable_opacity' => 1,
'return_format' => 'string',
'custom_palette_source' => '',
'palette_colors' => '',
'show_color_wheel' => true,
),
array(
'key' => 'field_task_section_text_background_color_dark',
'label' => 'Цвет фона, тёмная тема',
'name' => 'text_background_color_dark',
'aria-label' => '',
'type' => 'color_picker',
'instructions' => '',
'required' => 0,
'conditional_logic' => 0,
'wrapper' => array(
'width' => '33',
'class' => '',
'id' => '',
),
'default_value' => '#2d194e',
'enable_opacity' => 1,
'return_format' => 'string',
'custom_palette_source' => '',
'palette_colors' => '',
'show_color_wheel' => true,
),
array(
'key' => 'field_task_section_text_font_color_dark',
'label' => 'Цвет текста, тёмная тема',
'name' => 'text_font_color_dark',
'aria-label' => '',
'type' => 'color_picker',
'instructions' => '',
'required' => 0,
'conditional_logic' => 0,
'wrapper' => array(
'width' => '33',
'class' => '',
'id' => '',
),
'default_value' => '#b3a4cc',
'enable_opacity' => 1,
'return_format' => 'string',
'custom_palette_source' => '',
'palette_colors' => '',
'show_color_wheel' => true,
),
),
'min' => '',
'max' => '',
'acfe_flexible_render_template' => false,
'acfe_flexible_render_style' => false,
'acfe_flexible_render_script' => false,
'acfe_flexible_thumbnail' => false,
'acfe_flexible_settings' => false,
'acfe_flexible_settings_size' => 'medium',
'acfe_flexible_modal_edit_size' => false,
'acfe_flexible_category' => false,
),
'layout_short_answer_section' => array(
'key' => 'layout_short_answer_section',
'name' => 'short_answer_section',
'label' => 'Краткий ответ',
'display' => 'block',
'sub_fields' => array(
array(
'key' => 'field_short_answer_section_text_title',
'label' => 'Заголовок блока',
'name' => 'text_title',
'aria-label' => '',
'type' => 'text',
'instructions' => '',
'required' => 0,
'conditional_logic' => 0,
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'default_value' => 'Краткий ответ',
'maxlength' => '',
'allow_in_bindings' => 1,
'placeholder' => '',
'prepend' => '',
'append' => '',
),
array(
'key' => 'field_short_answer_section_text',
'label' => 'Текст',
'name' => 'text',
'aria-label' => '',
'type' => 'wysiwyg',
'instructions' => '',
'required' => 0,
'conditional_logic' => 0,
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'default_value' => '',
'tabs' => 'all',
'toolbar' => 'full',
'media_upload' => 1,
'delay' => 0,
),
array(
'key' => 'field_short_answer_section_text_border_color',
'label' => 'Цвет рамки',
'name' => 'text_border_color',
'aria-label' => '',
'type' => 'color_picker',
'instructions' => '',
'required' => false,
'conditional_logic' => false,
'wrapper' => array(
'width' => '33',
'class' => '',
'id' => '',
),
'default_value' => '#5b3be5',
'enable_opacity' => 1,
'return_format' => 'string',
'custom_palette_source' => '',
'palette_colors' => '',
'show_color_wheel' => true,
),
array(
'key' => 'field_short_answer_section_text_background_color',
'label' => 'Цвет фона',
'name' => 'text_background_color',
'aria-label' => '',
'type' => 'color_picker',
'instructions' => '',
'required' => false,
'conditional_logic' => false,
'wrapper' => array(
'width' => '33',
'class' => '',
'id' => '',
),
'default_value' => '#ffffff',
'enable_opacity' => 1,
'return_format' => 'string',
'custom_palette_source' => '',
'palette_colors' => '',
'show_color_wheel' => true,
),
array(
'key' => 'field_short_answer_section_text_font_color',
'label' => 'Цвет текста',
'name' => 'text_font_color',
'aria-label' => '',
'type' => 'color_picker',
'instructions' => '',
'required' => false,
'conditional_logic' => false,
'wrapper' => array(
'width' => '33',
'class' => '',
'id' => '',
),
'default_value' => '#5d5d7e',
'enable_opacity' => 1,
'return_format' => 'string',
'custom_palette_source' => '',
'palette_colors' => '',
'show_color_wheel' => true,
),
array(
'key' => 'field_short_answer_section_text_border_color_dark',
'label' => 'Цвет рамки, тёмная тема',
'name' => 'text_border_color_dark',
'aria-label' => '',
'type' => 'color_picker',
'instructions' => '',
'required' => false,
'conditional_logic' => false,
'wrapper' => array(
'width' => '33',
'class' => '',
'id' => '',
),
'default_value' => '#5b3be5',
'enable_opacity' => 1,
'return_format' => 'string',
'custom_palette_source' => '',
'palette_colors' => '',
'show_color_wheel' => true,
),
array(
'key' => 'field_short_answer_section_text_background_color_dark',
'label' => 'Цвет фона, тёмная тема',
'name' => 'text_background_color_dark',
'aria-label' => '',
'type' => 'color_picker',
'instructions' => '',
'required' => false,
'conditional_logic' => false,
'wrapper' => array(
'width' => '33',
'class' => '',
'id' => '',
),
'default_value' => '#331f5c',
'enable_opacity' => 1,
'return_format' => 'string',
'custom_palette_source' => '',
'palette_colors' => '',
'show_color_wheel' => true,
),
array(
'key' => 'field_short_answer_section_text_font_color_dark',
'label' => 'Цвет текста, тёмная тема',
'name' => 'text_font_color_dark',
'aria-label' => '',
'type' => 'color_picker',
'instructions' => '',
'required' => false,
'conditional_logic' => false,
'wrapper' => array(
'width' => '33',
'class' => '',
'id' => '',
),
'default_value' => '#B3A4CC',
'enable_opacity' => 1,
'return_format' => 'string',
'custom_palette_source' => '',
'palette_colors' => '',
'show_color_wheel' => true,
),
),
'min' => '',
'max' => '',
'acfe_flexible_render_template' => false,
'acfe_flexible_render_style' => false,
'acfe_flexible_render_script' => false,
'acfe_flexible_thumbnail' => false,
'acfe_flexible_settings' => false,
'acfe_flexible_settings_size' => 'medium',
'acfe_flexible_modal_edit_size' => false,
'acfe_flexible_category' => false,
),
'layout_detailed_answer_section' => array(
'key' => 'layout_detailed_answer_section',
'name' => 'detailed_answer_section',
'label' => 'Подробное решение',
'display' => 'block',
'sub_fields' => array(
array(
'key' => 'field_detailed_answer_section_text_title',
'label' => 'Заголовок блока',
'name' => 'text_title',
'aria-label' => '',
'type' => 'text',
'instructions' => '',
'required' => 0,
'conditional_logic' => 0,
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'default_value' => 'Подробный ответ',
'maxlength' => '',
'allow_in_bindings' => 1,
'placeholder' => '',
'prepend' => '',
'append' => '',
),
array(
'key' => 'field_detailed_answer_section_text',
'label' => 'Текст',
'name' => 'text',
'aria-label' => '',
'type' => 'wysiwyg',
'instructions' => '',
'required' => 0,
'conditional_logic' => 0,
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'default_value' => '',
'tabs' => 'all',
'toolbar' => 'full',
'media_upload' => 1,
'delay' => 0,
),
array(
'key' => 'field_detailed_answer_section_text_border_color',
'label' => 'Цвет рамки',
'name' => 'text_border_color',
'aria-label' => '',
'type' => 'color_picker',
'instructions' => '',
'required' => false,
'conditional_logic' => false,
'wrapper' => array(
'width' => '33',
'class' => '',
'id' => '',
),
'default_value' => '#ff0054',
'enable_opacity' => 1,
'return_format' => 'string',
'custom_palette_source' => '',
'palette_colors' => '',
'show_color_wheel' => true,
),
array(
'key' => 'field_detailed_answer_section_text_background_color',
'label' => 'Цвет фона',
'name' => 'text_background_color',
'aria-label' => '',
'type' => 'color_picker',
'instructions' => '',
'required' => false,
'conditional_logic' => false,
'wrapper' => array(
'width' => '33',
'class' => '',
'id' => '',
),
'default_value' => '#ffffff',
'enable_opacity' => 1,
'return_format' => 'string',
'custom_palette_source' => '',
'palette_colors' => '',
'show_color_wheel' => true,
),
array(
'key' => 'field_detailed_answer_section_text_font_color',
'label' => 'Цвет текста',
'name' => 'text_font_color',
'aria-label' => '',
'type' => 'color_picker',
'instructions' => '',
'required' => false,
'conditional_logic' => false,
'wrapper' => array(
'width' => '33',
'class' => '',
'id' => '',
),
'default_value' => '#5d5d7e',
'enable_opacity' => 1,
'return_format' => 'string',
'custom_palette_source' => '',
'palette_colors' => '',
'show_color_wheel' => true,
),
array(
'key' => 'field_detailed_answer_section_text_border_color_dark',
'label' => 'Цвет рамки, тёмная тема',
'name' => 'text_border_color_dark',
'aria-label' => '',
'type' => 'color_picker',
'instructions' => '',
'required' => false,
'conditional_logic' => false,
'wrapper' => array(
'width' => '33',
'class' => '',
'id' => '',
),
'default_value' => '#c60042',
'enable_opacity' => 1,
'return_format' => 'string',
'custom_palette_source' => '',
'palette_colors' => '',
'show_color_wheel' => true,
),
array(
'key' => 'field_detailed_answer_section_text_background_color_dark',
'label' => 'Цвет фона, тёмная тема',
'name' => 'text_background_color_dark',
'aria-label' => '',
'type' => 'color_picker',
'instructions' => '',
'required' => false,
'conditional_logic' => false,
'wrapper' => array(
'width' => '33',
'class' => '',
'id' => '',
),
'default_value' => '#331f5c',
'enable_opacity' => 1,
'return_format' => 'string',
'custom_palette_source' => '',
'palette_colors' => '',
'show_color_wheel' => true,
),
array(
'key' => 'field_detailed_answer_section_text_font_color_dark',
'label' => 'Цвет текста, тёмная тема',
'name' => 'text_font_color_dark',
'aria-label' => '',
'type' => 'color_picker',
'instructions' => '',
'required' => false,
'conditional_logic' => false,
'wrapper' => array(
'width' => '33',
'class' => '',
'id' => '',
),
'default_value' => '#B3A4CC',
'enable_opacity' => 1,
'return_format' => 'string',
'custom_palette_source' => '',
'palette_colors' => '',
'show_color_wheel' => true,
),
),
'min' => '',
'max' => '',
'acfe_flexible_render_template' => false,
'acfe_flexible_render_style' => false,
'acfe_flexible_render_script' => false,
'acfe_flexible_thumbnail' => false,
'acfe_flexible_settings' => false,
'acfe_flexible_settings_size' => 'medium',
'acfe_flexible_modal_edit_size' => false,
'acfe_flexible_category' => false,
),
),
'min' => '',
'max' => '',
'button_label' => 'Добавить блок',
'acfe_flexible_advanced' => false,
'acfe_flexible_stylised_button' => false,
'acfe_flexible_hide_empty_message' => false,
'acfe_flexible_empty_message' => '',
'acfe_flexible_layouts_templates' => false,
'acfe_flexible_layouts_previews' => false,
'acfe_flexible_layouts_placeholder' => false,
'acfe_flexible_layouts_thumbnails' => false,
'acfe_flexible_async' => array(
),
'acfe_flexible_add_actions' => array(
),
'acfe_flexible_remove_button' => array(
),
'acfe_flexible_layouts_state' => false,
'acfe_flexible_modal_edit' => array(
'acfe_flexible_modal_edit_enabled' => false,
'acfe_flexible_modal_edit_size' => 'large',
),
'acfe_flexible_modal' => array(
'acfe_flexible_modal_enabled' => false,
'acfe_flexible_modal_title' => false,
'acfe_flexible_modal_size' => 'full',
'acfe_flexible_modal_col' => '4',
'acfe_flexible_modal_categories' => false,
),
'acfe_flexible_modal_settings' => array(
'acfe_flexible_modal_settings_enabled' => false,
'acfe_flexible_modal_settings_size' => 'large',
'acfe_flexible_modal_settings_close' => true,
'acfe_flexible_modal_settings_close_label' => '',
),
'acfe_flexible_close_button_label' => '',
'acfe_flexible_remove_top_actions' => array(
),
),
array(
'key' => 'field_6a9578cc75411',
'label' => 'ID группы',
'name' => 'group_id',
'aria-label' => '',
'type' => 'text',
'instructions' => '',
'required' => 1,
'conditional_logic' => 0,
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'default_value' => '',
'maxlength' => '',
'allow_in_bindings' => 0,
'placeholder' => '',
'prepend' => '',
'append' => '',
),
array(
'key' => 'field_6a9578e075412',
'label' => 'Порядковый номер в группе',
'name' => 'order_number_in_group',
'aria-label' => '',
'type' => 'number',
'instructions' => '',
'required' => 1,
'conditional_logic' => 0,
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'default_value' => 0,
'min' => 0,
'max' => '',
'allow_in_bindings' => 0,
'placeholder' => '',
'step' => '',
'prepend' => '',
'append' => '',
),
),
),
array(
'key' => 'field_670d4c474ce95',
'label' => 'Вывести блок с описанием внизу страницы',
'name' => 'display_bottom_description_block',
'aria-label' => '',
'type' => 'true_false',
'instructions' => '',
'required' => 0,
'conditional_logic' => 0,
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'message' => '',
'default_value' => 0,
'ui_on_text' => '',
'ui_off_text' => '',
'ui' => 1,
),
array(
'key' => 'field_670d4bf84ce94',
'label' => 'Описание внизу страницы',
'name' => 'bottom_description_block',
'aria-label' => '',
'type' => 'group',
'instructions' => 'Сквозной текст - SEO-описание для страницы в самом низу.
Значения распространяются вглубь по иерархии страницы.',
'required' => 0,
'conditional_logic' => array(
array(
array(
'field' => 'field_670d4c474ce95',
'operator' => '==',
'value' => '1',
),
),
),
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'layout' => 'block',
'acfe_seamless_style' => 0,
'acfe_group_modal' => 0,
'acfe_group_modal_close' => 0,
'acfe_group_modal_button' => '',
'acfe_group_modal_size' => 'large',
'sub_fields' => array(
array(
'key' => 'field_670d4d294ce96',
'label' => 'Цвет',
'name' => 'color',
'aria-label' => '',
'type' => 'select',
'instructions' => '',
'required' => 0,
'conditional_logic' => 0,
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'choices' => array(
'red' => 'Красный',
'green' => 'Зелёный',
'violet' => 'Фиолетовый',
'yellow' => 'Жёлтый',
'orange' => 'Оранжевый',
'blue' => 'Синий',
'pink' => 'Розовый',
'cyan' => 'Голубой',
'purple' => 'Пурпурный',
),
'default_value' => 'red',
'return_format' => 'value',
'multiple' => 0,
'allow_null' => 0,
'ui' => 0,
'ajax' => 0,
'placeholder' => '',
'create_options' => 0,
'save_options' => 0,
'allow_custom' => 0,
'search_placeholder' => '',
),
array(
'key' => 'field_670d4d4f4ce97',
'label' => 'Иконка',
'name' => 'icon',
'aria-label' => '',
'type' => 'image',
'instructions' => '',
'required' => 0,
'conditional_logic' => 0,
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'uploader' => '',
'return_format' => 'id',
'library' => 'all',
'acfe_thumbnail' => 0,
'min_width' => '',
'min_height' => '',
'min_size' => '',
'max_width' => '',
'max_height' => '',
'max_size' => '',
'mime_types' => '',
'allow_in_bindings' => 1,
'preview_size' => 'medium',
),
array(
'key' => 'field_670d4d564ce98',
'label' => 'Заголовок',
'name' => 'title',
'aria-label' => '',
'type' => 'text',
'instructions' => '',
'required' => 0,
'conditional_logic' => 0,
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'default_value' => '',
'maxlength' => '',
'placeholder' => '',
'prepend' => '',
'append' => '',
),
array(
'key' => 'field_670d4d604ce99',
'label' => 'Текст',
'name' => 'text',
'aria-label' => '',
'type' => 'wysiwyg',
'instructions' => '',
'required' => 0,
'conditional_logic' => 0,
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'default_value' => '',
'tabs' => 'all',
'toolbar' => 'full',
'media_upload' => 1,
'delay' => 0,
),
),
),
),
'location' => array(
array(
array(
'param' => 'post_type',
'operator' => '==',
'value' => 'page',
),
),
array(
array(
'param' => 'page_type',
'operator' => '!=',
'value' => 'front_page',
),
),
),
'menu_order' => 0,
'position' => 'normal',
'style' => 'default',
'label_placement' => 'top',
'instruction_placement' => 'label',
'hide_on_screen' => '',
'active' => true,
'description' => '',
'show_in_rest' => 0,
'display_title' => '',
'allow_ai_access' => false,
'ai_description' => '',
'acfe' => array(
'autosync' => array(
0 => 'php',
),
),
) );
} );
Упр.782 Часть 1 ГДЗ Виленкин Жохов 6 класс (Математика) - GDZ Виленкин (Мнемозина) Упр.782 Часть 1 ГДЗ Виленкин Жохов 6 класс (Математика)
Виленкин, Жохов, Чесноков
Автор Виленкин, Жохов, Чесноков
Упр.782 Часть 1 ГДЗ Виленкин Жохов 6 класс (Математика)
Задача
а) 2,04 : 0,6 = 2,72 : 0,8;
б) 0,0112 : 0,28 = 0,204 : 0,51?
Подробный ответ
Проверим равенство отношений, приведя дроби к одинаковому виду.
а)
$$ 2{,}04 : 0{,}6 = \frac{2{,}04}{0{,}6} = \frac{204}{60} = \frac{17}{5} $$
$$ 2{,}72 : 0{,}8 = \frac{2{,}72}{0{,}8} = \frac{272}{80} = \frac{17}{5} $$
Оба отношения равны, значит, пропорция верна.
б)
$$ 0{,}0112 : 0{,}28 = \frac{0{,}0112}{0{,}28} = \frac{112}{2800} = \frac{1}{25} $$
$$ 0{,}204 : 0{,}51 = \frac{0{,}204}{0{,}51} = \frac{204}{510} = \frac{34}{85} $$
Так как
$$ \frac{1}{25} \ne \frac{34}{85}, $$
то пропорция неверна.
Ответ
а) верна; б) неверна.