diff --git a/advanced-custom-field-export.functions.php b/advanced-custom-field-export.functions.php new file mode 100644 index 0000000..221b8bb --- /dev/null +++ b/advanced-custom-field-export.functions.php @@ -0,0 +1,505 @@ + 'acf_album', + 'title' => 'Album', + 'fields' => array ( + array ( + 'key' => 'field_57cae2b7eac21', + 'label' => 'Urlaub', + 'name' => 'urlaub', + 'type' => 'relationship', + 'instructions' => 'Zu welchem Urlaub gehört dieses Album?', + 'required' => 1, + 'return_format' => 'id', + 'post_type' => array ( + 0 => 'post', + ), + 'taxonomy' => array ( + 0 => 'category:2', + ), + 'filters' => array ( + 0 => 'search', + ), + 'result_elements' => array ( + 0 => 'post_title', + ), + 'max' => 1, + ), + ), + 'location' => array ( + array ( + array ( + 'param' => 'post_type', + 'operator' => '==', + 'value' => 'post', + 'order_no' => 0, + 'group_no' => 0, + ), + array ( + 'param' => 'post_category', + 'operator' => '==', + 'value' => '4', + 'order_no' => 1, + 'group_no' => 0, + ), + ), + ), + 'options' => array ( + 'position' => 'normal', + 'layout' => 'default', + 'hide_on_screen' => array ( + ), + ), + 'menu_order' => 0, + )); + register_field_group(array ( + 'id' => 'acf_tagebuch', + 'title' => 'Tagebuch', + 'fields' => array ( + array ( + 'key' => 'field_57cae1b26bfef', + 'label' => 'Urlaub', + 'name' => 'urlaub', + 'type' => 'relationship', + 'instructions' => 'Zu welchem Urlaub gehört dieser Tagebuch Eintrag?', + 'required' => 1, + 'return_format' => 'id', + 'post_type' => array ( + 0 => 'post', + ), + 'taxonomy' => array ( + 0 => 'category:2', + ), + 'filters' => array ( + 0 => 'search', + ), + 'result_elements' => array ( + 0 => 'post_title', + ), + 'max' => 1, + ), + array ( + 'key' => 'field_57cae2026bff0', + 'label' => 'Ort', + 'name' => 'ort', + 'type' => 'google_map', + 'instructions' => 'Geographischer Ort dieses Tagebucheintrags.', + 'center_lat' => '50.753142', + 'center_lng' => '10.195313', + 'zoom' => 3, + 'height' => 500, + ), + ), + 'location' => array ( + array ( + array ( + 'param' => 'post_type', + 'operator' => '==', + 'value' => 'post', + 'order_no' => 0, + 'group_no' => 0, + ), + array ( + 'param' => 'post_category', + 'operator' => '==', + 'value' => '3', + 'order_no' => 1, + 'group_no' => 0, + ), + ), + ), + 'options' => array ( + 'position' => 'normal', + 'layout' => 'default', + 'hide_on_screen' => array ( + ), + ), + 'menu_order' => 0, + )); + register_field_group(array ( + 'id' => 'acf_tour', + 'title' => 'Tour', + 'fields' => array ( + array ( + 'key' => 'field_57cae2e8acd26', + 'label' => 'Urlaub', + 'name' => 'urlaub', + 'type' => 'relationship', + 'instructions' => 'Zu welchem Urlaub gehört diese Tour?', + 'required' => 1, + 'return_format' => 'id', + 'post_type' => array ( + 0 => 'post', + ), + 'taxonomy' => array ( + 0 => 'category:2', + ), + 'filters' => array ( + 0 => 'search', + ), + 'result_elements' => array ( + 0 => 'post_title', + ), + 'max' => 1, + ), + ), + 'location' => array ( + array ( + array ( + 'param' => 'post_type', + 'operator' => '==', + 'value' => 'post', + 'order_no' => 0, + 'group_no' => 0, + ), + array ( + 'param' => 'post_category', + 'operator' => '==', + 'value' => '5', + 'order_no' => 1, + 'group_no' => 0, + ), + ), + ), + 'options' => array ( + 'position' => 'normal', + 'layout' => 'default', + 'hide_on_screen' => array ( + ), + ), + 'menu_order' => 0, + )); + register_field_group(array ( + 'id' => 'acf_urlaub', + 'title' => 'Urlaub', + 'fields' => array ( + array ( + 'key' => 'field_57cadde228661', + 'label' => 'Land', + 'name' => 'land', + 'type' => 'select', + 'instructions' => 'Länder die in diesem Urlaub besucht wurden. Bitte mindestens eins auswählen', + 'required' => 1, + 'choices' => array ( + 'Afghanistan' => 'Afghanistan', + 'Ägypten' => 'Ägypten', + 'Albanien' => 'Albanien', + 'Algerien' => 'Algerien', + 'Andorra' => 'Andorra', + 'Angola' => 'Angola', + 'Antigua und Barbuda' => 'Antigua und Barbuda', + 'Äquatorialguinea' => 'Äquatorialguinea', + 'Argentinien' => 'Argentinien', + 'Armenien' => 'Armenien', + 'Aserbaidschan' => 'Aserbaidschan', + 'Äthiopien' => 'Äthiopien', + 'Australien' => 'Australien', + 'Bahamas' => 'Bahamas', + 'Bahrain' => 'Bahrain', + 'Bangladesch' => 'Bangladesch', + 'Barbados' => 'Barbados', + 'Belarus' => 'Belarus', + 'Belgien' => 'Belgien', + 'Belize' => 'Belize', + 'Benin' => 'Benin', + 'Bhutan' => 'Bhutan', + 'Bolivien' => 'Bolivien', + 'Bosnien und Herzegowina' => 'Bosnien und Herzegowina', + 'Botsuana' => 'Botsuana', + 'Brasilien' => 'Brasilien', + 'Brunei Darussalam' => 'Brunei Darussalam', + 'Bulgarien' => 'Bulgarien', + 'Burkina Faso' => 'Burkina Faso', + 'Burundi' => 'Burundi', + 'Chile' => 'Chile', + 'China' => 'China', + 'Cookinseln' => 'Cookinseln', + 'Costa Rica' => 'Costa Rica', + 'Côte d´Ivoire' => 'Côte d´Ivoire', + 'Dänemark' => 'Dänemark', + 'Deutschland' => 'Deutschland', + 'Dominica' => 'Dominica', + 'Dominikanische Republik' => 'Dominikanische Republik', + 'Dschibuti' => 'Dschibuti', + 'Ecuador' => 'Ecuador', + 'El Salvador' => 'El Salvador', + 'Eritrea' => 'Eritrea', + 'Estland' => 'Estland', + 'Fidschi' => 'Fidschi', + 'Finnland' => 'Finnland', + 'Frankreich' => 'Frankreich', + 'Gabun' => 'Gabun', + 'Gambia' => 'Gambia', + 'Georgien' => 'Georgien', + 'Ghana' => 'Ghana', + 'Grenada' => 'Grenada', + 'Griechenland' => 'Griechenland', + 'Großbritannien' => 'Großbritannien', + 'Guatemala' => 'Guatemala', + 'Guinea' => 'Guinea', + 'Guinea-Bissau' => 'Guinea-Bissau', + 'Guyana' => 'Guyana', + 'Haiti' => 'Haiti', + 'Honduras' => 'Honduras', + 'Indien' => 'Indien', + 'Indonesien' => 'Indonesien', + 'Irak' => 'Irak', + 'Iran' => 'Iran', + 'Irland' => 'Irland', + 'Island' => 'Island', + 'Israel' => 'Israel', + 'Italien' => 'Italien', + 'Jamaika' => 'Jamaika', + 'Japan' => 'Japan', + 'Jemen' => 'Jemen', + 'Jordanien' => 'Jordanien', + 'Kambodscha' => 'Kambodscha', + 'Kamerun' => 'Kamerun', + 'Kanada' => 'Kanada', + 'Kap Verde' => 'Kap Verde', + 'Kasachstan' => 'Kasachstan', + 'Katar' => 'Katar', + 'Kenia' => 'Kenia', + 'Kirgisistan' => 'Kirgisistan', + 'Kiribati' => 'Kiribati', + 'Kolumbien' => 'Kolumbien', + 'Komoren' => 'Komoren', + 'Kongo' => 'Kongo', + 'Kongo, Demokratische Republik' => 'Kongo, Demokratische Republik', + 'Korea, Demokratische Volksrepublik' => 'Korea, Demokratische Volksrepublik', + 'Korea, Republik' => 'Korea, Republik', + 'Kosovo' => 'Kosovo', + 'Kroatien' => 'Kroatien', + 'Kuba' => 'Kuba', + 'Kuwait' => 'Kuwait', + 'Laos' => 'Laos', + 'Lesotho' => 'Lesotho', + 'Lettland' => 'Lettland', + 'Libanon' => 'Libanon', + 'Liberia' => 'Liberia', + 'Libyen' => 'Libyen', + 'Liechtenstein' => 'Liechtenstein', + 'Litauen' => 'Litauen', + 'Luxemburg' => 'Luxemburg', + 'Madagaskar' => 'Madagaskar', + 'Malawi' => 'Malawi', + 'Malaysia' => 'Malaysia', + 'Malediven' => 'Malediven', + 'Mali' => 'Mali', + 'Malta' => 'Malta', + 'Marokko' => 'Marokko', + 'Marshallinseln' => 'Marshallinseln', + 'Mauretanien' => 'Mauretanien', + 'Mauritius' => 'Mauritius', + 'Mazedonien' => 'Mazedonien', + 'Mexiko' => 'Mexiko', + 'Mikronesien' => 'Mikronesien', + 'Moldau' => 'Moldau', + 'Monaco' => 'Monaco', + 'Mongolei' => 'Mongolei', + 'Montenegro' => 'Montenegro', + 'Mosambik' => 'Mosambik', + 'Myanmar' => 'Myanmar', + 'Namibia' => 'Namibia', + 'Nauru' => 'Nauru', + 'Nepal' => 'Nepal', + 'Neuseeland' => 'Neuseeland', + 'Nicaragua' => 'Nicaragua', + 'Niederlande' => 'Niederlande', + 'Niger' => 'Niger', + 'Nigeria' => 'Nigeria', + 'Norwegen' => 'Norwegen', + 'Oman' => 'Oman', + 'Österreich' => 'Österreich', + 'Pakistan' => 'Pakistan', + 'Palau' => 'Palau', + 'Panama' => 'Panama', + 'Papua-Neuguinea' => 'Papua-Neuguinea', + 'Paraguay' => 'Paraguay', + 'Peru' => 'Peru', + 'Philippinen' => 'Philippinen', + 'Polen' => 'Polen', + 'Portugal' => 'Portugal', + 'Ruanda' => 'Ruanda', + 'Rumänien' => 'Rumänien', + 'Russische Föderation' => 'Russische Föderation', + 'Salomonen' => 'Salomonen', + 'Sambia' => 'Sambia', + 'Samoa' => 'Samoa', + 'San Marino' => 'San Marino', + 'São Tomé und Príncipe' => 'São Tomé und Príncipe', + 'Saudi-Arabien' => 'Saudi-Arabien', + 'Schweden' => 'Schweden', + 'Schweiz' => 'Schweiz', + 'Senegal' => 'Senegal', + 'Serbien' => 'Serbien', + 'Seychellen' => 'Seychellen', + 'Sierra Leone' => 'Sierra Leone', + 'Simbabwe' => 'Simbabwe', + 'Singapur' => 'Singapur', + 'Slowakei' => 'Slowakei', + 'Slowenien' => 'Slowenien', + 'Somalia' => 'Somalia', + 'Spanien' => 'Spanien', + 'Sri Lanka' => 'Sri Lanka', + 'St. Kitts und Nevis' => 'St. Kitts und Nevis', + 'St. Lucia' => 'St. Lucia', + 'St. Vincent und die Grenadinen' => 'St. Vincent und die Grenadinen', + 'Südafrika' => 'Südafrika', + 'Sudan' => 'Sudan', + 'Südsudan' => 'Südsudan', + 'Suriname' => 'Suriname', + 'Swasiland' => 'Swasiland', + 'Syrien' => 'Syrien', + 'Tadschikistan' => 'Tadschikistan', + 'Taiwan' => 'Taiwan', + 'Tansania' => 'Tansania', + 'Thailand' => 'Thailand', + 'Timor-Leste' => 'Timor-Leste', + 'Togo' => 'Togo', + 'Tonga' => 'Tonga', + 'Trinidad und Tobago' => 'Trinidad und Tobago', + 'Tschad' => 'Tschad', + 'Tschechische Republik' => 'Tschechische Republik', + 'Tunesien' => 'Tunesien', + 'Türkei' => 'Türkei', + 'Turkmenistan' => 'Turkmenistan', + 'Tuvalu' => 'Tuvalu', + 'Uganda' => 'Uganda', + 'Ukraine' => 'Ukraine', + 'Ungarn' => 'Ungarn', + 'Uruguay' => 'Uruguay', + 'Usbekistan' => 'Usbekistan', + 'Vanuatu' => 'Vanuatu', + 'Vatikanstadt' => 'Vatikanstadt', + 'Venezuela' => 'Venezuela', + 'Vereinigte Arabische Emirate' => 'Vereinigte Arabische Emirate', + 'Vereinigte Staaten' => 'Vereinigte Staaten', + 'Vietnam' => 'Vietnam', + 'Zentralafrikanische Republik' => 'Zentralafrikanische Republik', + 'Zypern' => 'Zypern', + '' => '', + ), + 'default_value' => 'Deutschland', + 'allow_null' => 0, + 'multiple' => 1, + ), + array ( + 'key' => 'field_57cadf1c28662', + 'label' => 'Mitreisende', + 'name' => 'mitreisende', + 'type' => 'select', + 'instructions' => 'Wer war im Urlaub dabei?', + 'required' => 1, + 'choices' => array ( + 'Rainer' => 'Rainer', + 'Susanne' => 'Susanne', + 'Sebastian' => 'Sebastian', + 'Jennifer' => 'Jennifer', + 'Markus' => 'Markus', + 'Hannah' => 'Hannah', + 'Tobias' => 'Tobias', + 'Lorena' => 'Lorena', + 'Fynn' => 'Fynn', + 'Florian' => 'Florian', + 'Regina' => 'Regina', + 'Moritz' => 'Moritz', + 'Linda' => 'Linda', + 'Marion v. B.' => 'Marion v. B.', + 'Brigitte Wiesner' => 'Brigitte Wiesner', + 'Elmar Wiesner' => 'Elmar Wiesner', + 'Esther Wiesner' => 'Esther Wiesner', + 'Burkard Illig' => 'Burkard Illig', + 'Samuel J. Wiesner' => 'Samuel J. Wiesner', + 'Jan Wiesner' => 'Jan Wiesner', + 'Leano' => 'Leano', + 'Oliver Martens' => 'Oliver Martens', + 'Saskia Martens' => 'Saskia Martens', + 'Pascal Martens' => 'Pascal Martens', + 'Sophia Martens' => 'Sophia Martens', + 'Silke Weidner' => 'Silke Weidner', + 'Johannes Weidner' => 'Johannes Weidner', + 'Kristina Weidner' => 'Kristina Weidner', + 'Alexander Weidner' => 'Alexander Weidner', + 'Maximilian Weidner' => 'Maximilian Weidner', + 'Marion Lanny' => 'Marion Lanny', + 'Michael Lanny' => 'Michael Lanny', + 'Frederick Lanny' => 'Frederick Lanny', + 'Felix Lanny' => 'Felix Lanny', + 'Isabell Lanny' => 'Isabell Lanny', + 'Verena Lanny' => 'Verena Lanny', + 'Philipp Lanny' => 'Philipp Lanny', + 'Timm Dold' => 'Timm Dold', + 'Stephanie Herrmann' => 'Stephanie Herrmann', + 'Stephan Haupt' => 'Stephan Haupt', + 'Luisa Schirm' => 'Luisa Schirm', + ), + 'default_value' => '', + 'allow_null' => 0, + 'multiple' => 1, + ), + array ( + 'key' => 'field_57cae01e1639a', + 'label' => 'Anreise', + 'name' => 'anreise', + 'type' => 'date_picker', + 'instructions' => 'Anreisedatum', + 'required' => 1, + 'date_format' => 'yymmdd', + 'display_format' => 'dd.mm.yy', + 'first_day' => 1, + ), + array ( + 'key' => 'field_57cae07b1639c', + 'label' => 'Abreise', + 'name' => 'abreise', + 'type' => 'date_picker', + 'instructions' => 'Datum der Abreise', + 'required' => 1, + 'date_format' => 'yymmdd', + 'display_format' => 'dd.mm.yy', + 'first_day' => 1, + ), + array ( + 'key' => 'field_581e1fdd9e181', + 'label' => 'Orte', + 'name' => 'orte', + 'type' => 'multimap', + 'instructions' => 'Setze eine Markierung für jeden Ort an dem ihr in diesem Urlaub für längere Zeit ward. Daumenregel: mindestens eine Übernachtung.', + 'required' => 1, + 'center_lat' => '49.862190', + 'center_lng' => '9.807720', + 'zoom' => 8, + 'height' => 600, + ), + ), + 'location' => array ( + array ( + array ( + 'param' => 'post_type', + 'operator' => '==', + 'value' => 'post', + 'order_no' => 0, + 'group_no' => 0, + ), + array ( + 'param' => 'post_category', + 'operator' => '==', + 'value' => '2', + 'order_no' => 1, + 'group_no' => 0, + ), + ), + ), + 'options' => array ( + 'position' => 'normal', + 'layout' => 'default', + 'hide_on_screen' => array ( + ), + ), + 'menu_order' => 0, + )); +} + diff --git a/advanced-custom-field-export.xml b/advanced-custom-field-export.xml new file mode 100644 index 0000000..492fe0c --- /dev/null +++ b/advanced-custom-field-export.xml @@ -0,0 +1,246 @@ + + + + + + + + + + + + + + + + + + + + + + + Ankenbrand Travel Blog + https://travel.ankenbrand.me + Unsere Reisen + Sun, 06 Nov 2016 12:31:48 +0000 + + 1.1 + https://travel.ankenbrand.me + https://travel.ankenbrand.me + 1iimogiimog@iimog.org + 2hannahhannah@ankenbrand.me + 3moritzmoritz@ankenbrand.me + 4tobiastobias@ankenbrand.me + + Urlaub + https://travel.ankenbrand.me/?acf=acf_urlaub + Sat, 03 Sep 2016 14:33:39 +0000 + iimog + https://travel.ankenbrand.me/?post_type=acf&p=4 + 4 + 2016-09-03 16:33:39 + 2016-09-03 14:33:39 + closed + closed + acf_urlaub + publish + 0 + 0 + acf + + + _edit_last + + + + field_57cadde228661 + + + + field_57cadf1c28662 + + + + position + + + + layout + + + + hide_on_screen + + + + field_57cae01e1639a + + + + field_57cae07b1639c + + + + field_581e1fdd9e181 + + + + rule + + + + rule + + + + + Tagebuch + https://travel.ankenbrand.me/?acf=acf_tagebuch + Sat, 03 Sep 2016 14:46:18 +0000 + iimog + https://travel.ankenbrand.me/?post_type=acf&p=5 + 5 + 2016-09-03 16:46:18 + 2016-09-03 14:46:18 + closed + closed + acf_tagebuch + publish + 0 + 0 + acf + + + _edit_last + + + + field_57cae1b26bfef + + + + field_57cae2026bff0 + + + + position + + + + layout + + + + hide_on_screen + + + + rule + + + + rule + + + + + Album + https://travel.ankenbrand.me/?acf=acf_album + Sat, 03 Sep 2016 14:48:52 +0000 + iimog + https://travel.ankenbrand.me/?post_type=acf&p=8 + 8 + 2016-09-03 16:48:52 + 2016-09-03 14:48:52 + closed + closed + acf_album + publish + 0 + 0 + acf + + + _edit_last + + + + field_57cae2b7eac21 + + + + position + + + + layout + + + + hide_on_screen + + + + rule + + + + rule + + + + + Tour + https://travel.ankenbrand.me/?acf=acf_tour + Sat, 03 Sep 2016 14:49:30 +0000 + iimog + https://travel.ankenbrand.me/?post_type=acf&p=9 + 9 + 2016-09-03 16:49:30 + 2016-09-03 14:49:30 + closed + closed + acf_tour + publish + 0 + 0 + acf + + + _edit_last + + + + field_57cae2e8acd26 + + + + position + + + + layout + + + + hide_on_screen + + + + rule + + + + rule + + + + +