|
<?php |
|
/* exported from acf pro */ |
|
|
|
if ( function_exists('acf_add_local_field_group') ): |
|
|
|
acf_add_local_field_group(array( |
|
'key' => 'group_642af70225c29', |
|
'title' => 'Öffnungszeiten', |
|
'fields' => array( |
|
array( |
|
'show_column_filter' => false, |
|
'allow_bulkedit' => 0, |
|
'allow_quickedit' => 0, |
|
'show_column' => 0, |
|
'show_column_weight' => 1000, |
|
'show_column_sortable' => false, |
|
'key' => 'field_642be38acbf64', |
|
'label' => 'Überschrift', |
|
'name' => 'header', |
|
'aria-label' => '', |
|
'type' => 'text', |
|
'instructions' => '', |
|
'required' => 0, |
|
'conditional_logic' => 0, |
|
'wrapper' => array( |
|
'width' => '', |
|
'class' => '', |
|
'id' => '', |
|
), |
|
'default_value' => '', |
|
'maxlength' => '', |
|
'placeholder' => '', |
|
'prepend' => '', |
|
'append' => '', |
|
), |
|
array( |
|
'show_column_filter' => false, |
|
'allow_bulkedit' => false, |
|
'allow_quickedit' => false, |
|
'show_column' => false, |
|
'show_column_weight' => 1000, |
|
'show_column_sortable' => false, |
|
'key' => 'field_642af702d7f50', |
|
'label' => 'Wochentag', |
|
'name' => 'weekday', |
|
'aria-label' => '', |
|
'type' => 'repeater', |
|
'instructions' => '', |
|
'required' => 0, |
|
'conditional_logic' => 0, |
|
'wrapper' => array( |
|
'width' => '', |
|
'class' => '', |
|
'id' => '', |
|
), |
|
'layout' => 'table', |
|
'pagination' => 0, |
|
'min' => 0, |
|
'max' => 0, |
|
'collapsed' => '', |
|
'button_label' => 'Add Row', |
|
'rows_per_page' => 20, |
|
'sub_fields' => array( |
|
array( |
|
'show_column_filter' => 0, |
|
'allow_bulkedit' => 0, |
|
'allow_quickedit' => 0, |
|
'show_column' => 0, |
|
'show_column_weight' => 1000, |
|
'show_column_sortable' => false, |
|
'key' => 'field_642af74ee5e65', |
|
'label' => 'Tag', |
|
'name' => 'tag', |
|
'aria-label' => '', |
|
'type' => 'select', |
|
'instructions' => '', |
|
'required' => 0, |
|
'conditional_logic' => 0, |
|
'wrapper' => array( |
|
'width' => '33', |
|
'class' => '', |
|
'id' => '', |
|
), |
|
'choices' => array( |
|
'Mo' => 'Montag', |
|
'Di' => 'Dienstag', |
|
'Mi' => 'Mittwoch', |
|
'Do' => 'Donnerstag', |
|
'Fr' => 'Freitag', |
|
'Sa' => 'Samstag', |
|
'So' => 'Sonntag', |
|
), |
|
'default_value' => false, |
|
'return_format' => 'array', |
|
'multiple' => 0, |
|
'allow_null' => 0, |
|
'ui' => 0, |
|
'ajax' => 0, |
|
'placeholder' => '', |
|
'parent_repeater' => 'field_642af702d7f50', |
|
), |
|
array( |
|
'show_column_filter' => false, |
|
'allow_bulkedit' => false, |
|
'allow_quickedit' => false, |
|
'show_column' => false, |
|
'show_column_weight' => 1000, |
|
'show_column_sortable' => false, |
|
'key' => 'field_642af8a594fb5', |
|
'label' => 'Öffnungszeiten', |
|
'name' => 'oeffnungszeiten', |
|
'aria-label' => '', |
|
'type' => 'repeater', |
|
'instructions' => '', |
|
'required' => 0, |
|
'conditional_logic' => 0, |
|
'wrapper' => array( |
|
'width' => '66', |
|
'class' => '', |
|
'id' => '', |
|
), |
|
'layout' => 'table', |
|
'min' => 0, |
|
'max' => 0, |
|
'collapsed' => '', |
|
'button_label' => 'Add Row', |
|
'rows_per_page' => 20, |
|
'sub_fields' => array( |
|
array( |
|
'show_column_filter' => false, |
|
'allow_bulkedit' => false, |
|
'allow_quickedit' => false, |
|
'show_column' => false, |
|
'show_column_weight' => 1000, |
|
'show_column_sortable' => false, |
|
'key' => 'field_642af8f994fb6', |
|
'label' => 'Öffnungszeit', |
|
'name' => 'von_-_bis', |
|
'aria-label' => '', |
|
'type' => 'group', |
|
'instructions' => '', |
|
'required' => 0, |
|
'conditional_logic' => 0, |
|
'wrapper' => array( |
|
'width' => '', |
|
'class' => '', |
|
'id' => '', |
|
), |
|
'layout' => 'block', |
|
'sub_fields' => array( |
|
array( |
|
'show_column_filter' => 0, |
|
'allow_bulkedit' => 0, |
|
'allow_quickedit' => 0, |
|
'show_column' => 0, |
|
'show_column_weight' => 1000, |
|
'show_column_sortable' => false, |
|
'key' => 'field_642af96294fb7', |
|
'label' => 'Geöffnet', |
|
'name' => 'geoffnet', |
|
'aria-label' => '', |
|
'type' => 'select', |
|
'instructions' => '', |
|
'required' => 0, |
|
'conditional_logic' => 0, |
|
'wrapper' => array( |
|
'width' => '50', |
|
'class' => '', |
|
'id' => '', |
|
), |
|
'choices' => array( |
|
'Geoeffnet' => 'Geöffnet', |
|
'Geschlossen' => 'Geschlossen', |
|
), |
|
'default_value' => 'Geöffnet', |
|
'return_format' => 'label', |
|
'multiple' => 0, |
|
'allow_null' => 0, |
|
'ui' => 0, |
|
'ajax' => 0, |
|
'placeholder' => '', |
|
), |
|
array( |
|
'show_column_filter' => false, |
|
'allow_bulkedit' => false, |
|
'allow_quickedit' => false, |
|
'show_column' => false, |
|
'show_column_weight' => 1000, |
|
'show_column_sortable' => false, |
|
'key' => 'field_642afb9794fb8', |
|
'label' => 'Zeitraum (leer lassen, wenn geschlossen)', |
|
'name' => 'zeitraum', |
|
'aria-label' => '', |
|
'type' => 'text', |
|
'instructions' => '', |
|
'required' => 0, |
|
'conditional_logic' => 0, |
|
'wrapper' => array( |
|
'width' => '50', |
|
'class' => '', |
|
'id' => '', |
|
), |
|
'default_value' => '', |
|
'maxlength' => '', |
|
'placeholder' => '', |
|
'prepend' => '', |
|
'append' => '', |
|
), |
|
), |
|
'parent_repeater' => 'field_642af8a594fb5', |
|
), |
|
), |
|
'parent_repeater' => 'field_642af702d7f50', |
|
), |
|
), |
|
), |
|
array( |
|
'show_column_filter' => false, |
|
'allow_bulkedit' => 0, |
|
'allow_quickedit' => 0, |
|
'show_column' => 0, |
|
'show_column_weight' => 1000, |
|
'show_column_sortable' => false, |
|
'key' => 'field_642be36ccbf63', |
|
'label' => 'Fußnote', |
|
'name' => 'footer', |
|
'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' => 'options_page', |
|
'operator' => '==', |
|
'value' => 'restaurant', |
|
), |
|
), |
|
), |
|
'menu_order' => 0, |
|
'position' => 'normal', |
|
'style' => 'default', |
|
'label_placement' => 'top', |
|
'instruction_placement' => 'label', |
|
'hide_on_screen' => '', |
|
'active' => true, |
|
'description' => '', |
|
'show_in_rest' => 0, |
|
)); |
|
|
|
endif; |
|
|