Skip to content

Commit

Permalink
Merge pull request #257 from wikitongues/staging
Browse files Browse the repository at this point in the history
Production Deploy
  • Loading branch information
FredericoAndrade authored Nov 30, 2024
2 parents d834a8a + 70cbdad commit 8b36e86
Show file tree
Hide file tree
Showing 56 changed files with 1,649 additions and 669 deletions.
6 changes: 6 additions & 0 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,12 @@ Some of our advanced features are maintained as custom plugins. At present, we h
/includes/templates/*
```

# Dependencies

## Font Awesome

We use [FontAwewsome](https://fontawesome.com/) to render social icons.

# Errors

Localhost db view error: `The user specified as a definer ('wikitong_master'@'localhost') does not exist`
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
$iso_code = get_the_title();
$iso_code_element = '<aside>'.esc_html($iso_code).'</aside>';
$video_query = get_videos_by_featured_language($iso_code);
$url = home_url('/languages/' . $iso_code);
$url = home_url('/languages/' . $iso_code, 'relative');

if ($video_query->have_posts()) {
while ($video_query->have_posts()) {
Expand Down
2 changes: 1 addition & 1 deletion wp-content/themes/blankslate-child/404.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php get_header(); ?>
<article id="page-404" class="post not-found">
<h1>Page not found</h1>
<p>This page was lost in translation. <a href="<?php echo home_url(); ?>/archive">Try a search instead?</a></p>
<p>This page was lost in translation. <a href="<?php echo home_url('archive', 'relative'); ?>">Try a search instead?</a></p>
</article>
<?php include( 'modules/newsletter.php' ); ?>
<?php get_footer(); ?>
Original file line number Diff line number Diff line change
Expand Up @@ -67,20 +67,20 @@
"label": "Block Copy",
"name": "block_copy",
"aria-label": "",
"type": "text",
"type": "textarea",
"instructions": "",
"required": 0,
"required": false,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"default_value": "",
"new_lines": "",
"maxlength": "",
"placeholder": "",
"prepend": "",
"append": ""
"rows": ""
}
],
"location": [
Expand All @@ -101,5 +101,5 @@
"active": true,
"description": "",
"show_in_rest": 0,
"modified": 1728232279
"modified": 1732883697
}
142 changes: 142 additions & 0 deletions wp-content/themes/blankslate-child/acf-json/group_6749d7ee908c1.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,142 @@
{
"key": "group_6749d7ee908c1",
"title": "Post type: Careers",
"fields": [
{
"key": "field_6749d8356450f",
"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_6749db9b64510",
"label": "Team and Role Description",
"name": "team_description",
"aria-label": "",
"type": "wysiwyg",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"default_value": "",
"tabs": "all",
"toolbar": "full",
"media_upload": 1,
"delay": 0
},
{
"key": "field_6749dba764511",
"label": "Role Description",
"name": "role_description",
"aria-label": "",
"type": "wysiwyg",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"default_value": "",
"tabs": "all",
"toolbar": "full",
"media_upload": 1,
"delay": 0
},
{
"key": "field_6749dbd8f96ea",
"label": "Candidate Background",
"name": "candidate_background",
"aria-label": "",
"type": "wysiwyg",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"default_value": "",
"tabs": "all",
"toolbar": "full",
"media_upload": 1,
"delay": 0
},
{
"key": "field_6749dbe4f96eb",
"label": "Compensation",
"name": "compensation",
"aria-label": "",
"type": "wysiwyg",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"default_value": "",
"tabs": "all",
"toolbar": "full",
"media_upload": 1,
"delay": 0
},
{
"key": "field_6749dbeff96ec",
"label": "Application",
"name": "application",
"aria-label": "",
"type": "url",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"default_value": "",
"placeholder": ""
}
],
"location": [
[
{
"param": "post_type",
"operator": "==",
"value": "careers"
}
]
],
"menu_order": 0,
"position": "normal",
"style": "default",
"label_placement": "top",
"instruction_placement": "label",
"hide_on_screen": "",
"active": true,
"description": "",
"show_in_rest": 0,
"modified": 1732924665
}
168 changes: 168 additions & 0 deletions wp-content/themes/blankslate-child/acf-json/group_6749e117c8a3a.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,168 @@
{
"key": "group_6749e117c8a3a",
"title": "Template: Careers",
"fields": [
{
"key": "field_6749eb0bb5ed3",
"label": "Banner",
"name": "banner",
"aria-label": "",
"type": "group",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"layout": "block",
"sub_fields": [
{
"key": "field_6749eb24b5ed4",
"label": "Banner Image",
"name": "banner_image",
"aria-label": "",
"type": "image",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"return_format": "array",
"library": "all",
"min_width": "",
"min_height": "",
"min_size": "",
"max_width": "",
"max_height": "",
"max_size": "",
"mime_types": "",
"preview_size": "medium"
},
{
"key": "field_6749eb24b5ed5",
"label": "Banner Header",
"name": "banner_header",
"aria-label": "",
"type": "text",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"default_value": "",
"maxlength": "",
"placeholder": "",
"prepend": "",
"append": ""
},
{
"key": "field_6749eb27b5ed6",
"label": "Banner Copy",
"name": "banner_copy",
"aria-label": "",
"type": "textarea",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"default_value": "",
"maxlength": "",
"rows": "",
"placeholder": "",
"new_lines": ""
}
]
},
{
"key": "field_6749e1189892b",
"label": "Why Wikitongues",
"name": "why_wikitongues",
"aria-label": "",
"type": "wysiwyg",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"default_value": "",
"tabs": "all",
"toolbar": "full",
"media_upload": 1,
"delay": 0
},
{
"key": "field_6749e1429892c",
"label": "About Wikitongues",
"name": "about_wikitongues",
"aria-label": "",
"type": "wysiwyg",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"default_value": "",
"tabs": "all",
"toolbar": "full",
"media_upload": 1,
"delay": 0
},
{
"key": "field_6749e1609892d",
"label": "DEI",
"name": "dei",
"aria-label": "",
"type": "wysiwyg",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"default_value": "",
"tabs": "all",
"toolbar": "full",
"media_upload": 1,
"delay": 0
}
],
"location": [
[
{
"param": "page",
"operator": "==",
"value": "16669"
}
]
],
"menu_order": 0,
"position": "normal",
"style": "default",
"label_placement": "top",
"instruction_placement": "label",
"hide_on_screen": "",
"active": true,
"description": "",
"show_in_rest": 0,
"modified": 1732897647
}
5 changes: 1 addition & 4 deletions wp-content/themes/blankslate-child/archive-fellows.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,2 @@
<?php

$wikitongues_url = home_url();

header('Location: ' . $wikitongues_url . '/revitalization/fellows');
header('Location: ' . home__url('/revitalization/fellows','relative'));
5 changes: 1 addition & 4 deletions wp-content/themes/blankslate-child/archive-languages.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,2 @@
<?php

$wikitongues_url = home_url();

header('Location: ' . $wikitongues_url . '/archive');
header('Location: ' . home_url('/archive', 'relative'));
Loading

0 comments on commit 8b36e86

Please sign in to comment.