From f2a233031d8de3bf665af6db68ff7818ea5cf6fd Mon Sep 17 00:00:00 2001 From: FredericoAndrade Date: Fri, 6 Dec 2024 12:49:57 +0100 Subject: [PATCH 1/2] test careers acf --- .../acf-json/group_6749e117c8a3a.json | 22 ++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/wp-content/themes/blankslate-child/acf-json/group_6749e117c8a3a.json b/wp-content/themes/blankslate-child/acf-json/group_6749e117c8a3a.json index 35d4ebe..8af4801 100644 --- a/wp-content/themes/blankslate-child/acf-json/group_6749e117c8a3a.json +++ b/wp-content/themes/blankslate-child/acf-json/group_6749e117c8a3a.json @@ -382,6 +382,26 @@ "toolbar": "full", "media_upload": 1, "delay": 0 + }, + { + "key": "field_6752e4ae660ec", + "label": "test", + "name": "test", + "aria-label": "", + "type": "text", + "instructions": "", + "required": 0, + "conditional_logic": 0, + "wrapper": { + "width": "", + "class": "", + "id": "" + }, + "default_value": "", + "maxlength": "", + "placeholder": "", + "prepend": "", + "append": "" } ], "location": [ @@ -402,5 +422,5 @@ "active": true, "description": "", "show_in_rest": 0, - "modified": 1733430987 + "modified": 1733485746 } From 0d8e41ef08383550dcb763d0f1dbc575480423bd Mon Sep 17 00:00:00 2001 From: FredericoAndrade Date: Fri, 6 Dec 2024 13:54:18 +0100 Subject: [PATCH 2/2] create acf helpers --- wp-content/themes/blankslate-child/functions.php | 1 + .../blankslate-child/includes/acf-helpers.php | 13 +++++++++++++ 2 files changed, 14 insertions(+) create mode 100644 wp-content/themes/blankslate-child/includes/acf-helpers.php diff --git a/wp-content/themes/blankslate-child/functions.php b/wp-content/themes/blankslate-child/functions.php index ae401ea..cc30040 100644 --- a/wp-content/themes/blankslate-child/functions.php +++ b/wp-content/themes/blankslate-child/functions.php @@ -9,3 +9,4 @@ require_once('includes/batch-operations.php'); require_once('includes/admin-helpers.php'); require_once('includes/events-filter.php'); +require_once('includes/acf-helpers.php'); \ No newline at end of file diff --git a/wp-content/themes/blankslate-child/includes/acf-helpers.php b/wp-content/themes/blankslate-child/includes/acf-helpers.php new file mode 100644 index 0000000..e448aee --- /dev/null +++ b/wp-content/themes/blankslate-child/includes/acf-helpers.php @@ -0,0 +1,13 @@ +