Skip to content

Commit

Permalink
Merge pull request #270 from wikitongues/staging
Browse files Browse the repository at this point in the history
prod deploy
  • Loading branch information
FredericoAndrade authored Dec 6, 2024
2 parents 238e22d + 0854c83 commit c16ee86
Show file tree
Hide file tree
Showing 16 changed files with 598 additions and 230 deletions.
5 changes: 5 additions & 0 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"fields": [
{
"key": "field_6749d8356450f",
"label": "Location",
"label": "Role Location",
"name": "location",
"aria-label": "",
"type": "text",
Expand All @@ -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",
Expand All @@ -49,7 +67,7 @@
"aria-label": "",
"type": "wysiwyg",
"instructions": "",
"required": 0,
"required": 1,
"conditional_logic": 0,
"wrapper": {
"width": "",
Expand All @@ -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": "",
Expand Down Expand Up @@ -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": "",
Expand Down Expand Up @@ -138,5 +156,5 @@
"active": true,
"description": "",
"show_in_rest": 0,
"modified": 1732924665
"modified": 1733429072
}
260 changes: 259 additions & 1 deletion wp-content/themes/blankslate-child/acf-json/group_6749e117c8a3a.json
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,244 @@
}
]
},
{
"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_67520eaa530ee",
"label": "Application URL",
"name": "application",
"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",
Expand Down Expand Up @@ -144,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": [
Expand All @@ -164,5 +422,5 @@
"active": true,
"description": "",
"show_in_rest": 0,
"modified": 1732897647
"modified": 1733485746
}
1 change: 1 addition & 0 deletions wp-content/themes/blankslate-child/functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -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');
13 changes: 13 additions & 0 deletions wp-content/themes/blankslate-child/includes/acf-helpers.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<?php
// Set the save path for ACF JSON files.
add_filter('acf/settings/save_json', function ($path) {
// Save JSON files to a folder in your theme.
return get_stylesheet_directory() . '/acf-json';
});

// Set the load path for ACF JSON files.
add_filter('acf/settings/load_json', function ($paths) {
// Append the JSON folder in your theme to the load paths.
$paths[] = get_stylesheet_directory() . '/acf-json';
return $paths;
});
Loading

0 comments on commit c16ee86

Please sign in to comment.