diff --git a/readme.md b/readme.md
index c1c3c0d..05f3eb0 100644
--- a/readme.md
+++ b/readme.md
@@ -201,6 +201,11 @@ Localhost db view error: `The user specified as a definer ('wikitong_master'@'lo
1. `DROP VIEW IF EXISTS languages_view;`
1. Recreate the View
+# Dependencies
+We are still developing the best method to get this project set up.
+Plugins
+Blankslate theme
+
# To-Do
## Code structure and styles
diff --git a/wp-content/themes/blankslate-child/acf-json/group_6749d7ee908c1.json b/wp-content/themes/blankslate-child/acf-json/group_6749d7ee908c1.json
index d003220..5ee2352 100644
--- a/wp-content/themes/blankslate-child/acf-json/group_6749d7ee908c1.json
+++ b/wp-content/themes/blankslate-child/acf-json/group_6749d7ee908c1.json
@@ -4,7 +4,7 @@
"fields": [
{
"key": "field_6749d8356450f",
- "label": "Location",
+ "label": "Role Location",
"name": "location",
"aria-label": "",
"type": "text",
@@ -22,9 +22,27 @@
"prepend": "",
"append": ""
},
+ {
+ "key": "field_6752003567808",
+ "label": "Application Deadline",
+ "name": "deadline",
+ "aria-label": "",
+ "type": "date_picker",
+ "instructions": "",
+ "required": 0,
+ "conditional_logic": 0,
+ "wrapper": {
+ "width": "",
+ "class": "",
+ "id": ""
+ },
+ "display_format": "F j, Y",
+ "return_format": "F j, Y",
+ "first_day": 1
+ },
{
"key": "field_6749db9b64510",
- "label": "Team and Role Description",
+ "label": "Team Description",
"name": "team_description",
"aria-label": "",
"type": "wysiwyg",
@@ -49,7 +67,7 @@
"aria-label": "",
"type": "wysiwyg",
"instructions": "",
- "required": 0,
+ "required": 1,
"conditional_logic": 0,
"wrapper": {
"width": "",
@@ -64,12 +82,12 @@
},
{
"key": "field_6749dbd8f96ea",
- "label": "Candidate Background",
- "name": "candidate_background",
+ "label": "Requirements",
+ "name": "requirements",
"aria-label": "",
"type": "wysiwyg",
"instructions": "",
- "required": 0,
+ "required": 1,
"conditional_logic": 0,
"wrapper": {
"width": "",
@@ -104,12 +122,12 @@
},
{
"key": "field_6749dbeff96ec",
- "label": "Application",
+ "label": "Application Link",
"name": "application",
"aria-label": "",
"type": "url",
"instructions": "",
- "required": 0,
+ "required": 1,
"conditional_logic": 0,
"wrapper": {
"width": "",
@@ -138,5 +156,5 @@
"active": true,
"description": "",
"show_in_rest": 0,
- "modified": 1732924665
+ "modified": 1733429072
}
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 0d959b1..0695290 100644
--- a/wp-content/themes/blankslate-child/acf-json/group_6749e117c8a3a.json
+++ b/wp-content/themes/blankslate-child/acf-json/group_6749e117c8a3a.json
@@ -85,6 +85,224 @@
}
]
},
+ {
+ "key": "field_6752029804b95",
+ "label": "Section Headers",
+ "name": "headers",
+ "aria-label": "",
+ "type": "group",
+ "instructions": "",
+ "required": 0,
+ "conditional_logic": 0,
+ "wrapper": {
+ "width": "",
+ "class": "",
+ "id": ""
+ },
+ "layout": "block",
+ "sub_fields": [
+ {
+ "key": "field_675202a604b96",
+ "label": "Posted Date",
+ "name": "posted_date",
+ "aria-label": "",
+ "type": "text",
+ "instructions": "",
+ "required": 0,
+ "conditional_logic": 0,
+ "wrapper": {
+ "width": "",
+ "class": "",
+ "id": ""
+ },
+ "default_value": "",
+ "maxlength": "",
+ "placeholder": "",
+ "prepend": "",
+ "append": ""
+ },
+ {
+ "key": "field_675202b004b97",
+ "label": "Location",
+ "name": "location",
+ "aria-label": "",
+ "type": "text",
+ "instructions": "",
+ "required": 0,
+ "conditional_logic": 0,
+ "wrapper": {
+ "width": "",
+ "class": "",
+ "id": ""
+ },
+ "default_value": "",
+ "maxlength": "",
+ "placeholder": "",
+ "prepend": "",
+ "append": ""
+ },
+ {
+ "key": "field_675202bb04b98",
+ "label": "Deadline",
+ "name": "deadline",
+ "aria-label": "",
+ "type": "text",
+ "instructions": "",
+ "required": 0,
+ "conditional_logic": 0,
+ "wrapper": {
+ "width": "",
+ "class": "",
+ "id": ""
+ },
+ "default_value": "",
+ "maxlength": "",
+ "placeholder": "",
+ "prepend": "",
+ "append": ""
+ },
+ {
+ "key": "field_675202cf04b99",
+ "label": "Why Wikitongues",
+ "name": "why_wikitongues",
+ "aria-label": "",
+ "type": "text",
+ "instructions": "",
+ "required": 0,
+ "conditional_logic": 0,
+ "wrapper": {
+ "width": "",
+ "class": "",
+ "id": ""
+ },
+ "default_value": "",
+ "maxlength": "",
+ "placeholder": "",
+ "prepend": "",
+ "append": ""
+ },
+ {
+ "key": "field_675202e604b9a",
+ "label": "Team Description",
+ "name": "team_description",
+ "aria-label": "",
+ "type": "text",
+ "instructions": "",
+ "required": 0,
+ "conditional_logic": 0,
+ "wrapper": {
+ "width": "",
+ "class": "",
+ "id": ""
+ },
+ "default_value": "",
+ "maxlength": "",
+ "placeholder": "",
+ "prepend": "",
+ "append": ""
+ },
+ {
+ "key": "field_675202f204b9b",
+ "label": "Role Description",
+ "name": "role_description",
+ "aria-label": "",
+ "type": "text",
+ "instructions": "",
+ "required": 0,
+ "conditional_logic": 0,
+ "wrapper": {
+ "width": "",
+ "class": "",
+ "id": ""
+ },
+ "default_value": "",
+ "maxlength": "",
+ "placeholder": "",
+ "prepend": "",
+ "append": ""
+ },
+ {
+ "key": "field_675202fc04b9c",
+ "label": "Requirements",
+ "name": "requirements",
+ "aria-label": "",
+ "type": "text",
+ "instructions": "",
+ "required": 0,
+ "conditional_logic": 0,
+ "wrapper": {
+ "width": "",
+ "class": "",
+ "id": ""
+ },
+ "default_value": "",
+ "maxlength": "",
+ "placeholder": "",
+ "prepend": "",
+ "append": ""
+ },
+ {
+ "key": "field_6752030704b9d",
+ "label": "Compensation",
+ "name": "compensation",
+ "aria-label": "",
+ "type": "text",
+ "instructions": "",
+ "required": 0,
+ "conditional_logic": 0,
+ "wrapper": {
+ "width": "",
+ "class": "",
+ "id": ""
+ },
+ "default_value": "",
+ "maxlength": "",
+ "placeholder": "",
+ "prepend": "",
+ "append": ""
+ },
+ {
+ "key": "field_6752031304b9e",
+ "label": "About Wikitongues",
+ "name": "about_wikitongues",
+ "aria-label": "",
+ "type": "text",
+ "instructions": "",
+ "required": 0,
+ "conditional_logic": 0,
+ "wrapper": {
+ "width": "",
+ "class": "",
+ "id": ""
+ },
+ "default_value": "",
+ "maxlength": "",
+ "placeholder": "",
+ "prepend": "",
+ "append": ""
+ },
+ {
+ "key": "field_6752032104b9f",
+ "label": "DEI",
+ "name": "dei",
+ "aria-label": "",
+ "type": "text",
+ "instructions": "",
+ "required": 0,
+ "conditional_logic": 0,
+ "wrapper": {
+ "width": "",
+ "class": "",
+ "id": ""
+ },
+ "default_value": "",
+ "maxlength": "",
+ "placeholder": "",
+ "prepend": "",
+ "append": ""
+ }
+ ]
+ },
{
"key": "field_6749e1189892b",
"label": "Why Wikitongues",
@@ -164,5 +382,5 @@
"active": true,
"description": "",
"show_in_rest": 0,
- "modified": 1732897647
+ "modified": 1733430014
}
diff --git a/wp-content/themes/blankslate-child/single-careers.php b/wp-content/themes/blankslate-child/single-careers.php
index 3df175d..73b585a 100644
--- a/wp-content/themes/blankslate-child/single-careers.php
+++ b/wp-content/themes/blankslate-child/single-careers.php
@@ -2,73 +2,52 @@
get_header();
// Fetch the global fields from the Careers list page
-$list_page_id = get_page_by_path('careers')->ID; // Dynamically get the ID
-// Alternatively: $list_page_id = 123; // Static ID
+$list_page_id = get_page_by_path('careers')->ID;
+$headers = get_field("headers", $list_page_id);
+
+// Helper function to render a section if a value exists
+function render_section($field_name, $headers, $page_id = null) {
+ $field_value = get_field($field_name, $page_id);
+ $title_value = $headers[$field_name];
+ if ($field_value) {
+ echo "" . esc_attr($title_value) . "
";
+ echo wpautop(wp_kses_post($field_value));
+ echo "
—
No open positions at the moment'; + echo 'No open positions at the moment
No open positions at the moment