Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
38 commits
Select commit Hold shift + click to select a range
fd04ded
setup pidgin dir, baseline template, baseline css file
possumbilities Oct 28, 2025
66e6334
import baseline css
possumbilities Oct 29, 2025
91a30aa
add baseline html skeleton, hook up css
possumbilities Oct 29, 2025
476aef5
add lead in ACF fields, tie to output in template
possumbilities Oct 29, 2025
d79b1e8
add focus feature content type, expand acf fields, hook up to template
possumbilities Oct 29, 2025
40c885b
append remaining rough fields, output in template
possumbilities Oct 29, 2025
4aed2d6
adjust fields, hook up focus features to output
possumbilities Oct 29, 2025
ad72744
add remaining fields, output into template, correctly reset post data
possumbilities Oct 29, 2025
bfc64ee
prep for attribution solution
possumbilities Oct 29, 2025
3942ece
set limit on focus features to 5
possumbilities Oct 29, 2025
082d1d0
Merge remote-tracking branch 'origin/main' into interim-home
possumbilities Nov 13, 2025
4a1cee8
introduce pidgin header
possumbilities Nov 14, 2025
fdac2d4
introduce pidgin footer template
possumbilities Nov 14, 2025
b0d5c3a
tie pidgin header/footer to pidgin home
possumbilities Nov 14, 2025
51ad502
introduce baseline skeleton styles and element placement for topic-su…
possumbilities Nov 14, 2025
d4fd081
position and style category sub-element in topic-summary description
possumbilities Nov 14, 2025
5abb5bc
add blob svg to test clipping masks
possumbilities Nov 14, 2025
6524919
switch to mask-image over clip-path implementation
possumbilities Nov 14, 2025
6d201fd
increase size of img, add subtle animation
possumbilities Nov 17, 2025
9e7b457
add customizable background image for support section
possumbilities Nov 17, 2025
daf5b7d
add temp hotfix field for tiny css patches
possumbilities Nov 17, 2025
fa026e0
crowd spacing between areas
possumbilities Nov 17, 2025
71af931
adjust spacing to match
possumbilities Nov 17, 2025
a5921bf
crowd top of newsletter more
possumbilities Nov 17, 2025
c6a765f
hook category backend UX to output in template
possumbilities Nov 17, 2025
96bdd75
correct more posts link
possumbilities Nov 17, 2025
ce49c82
reset color in attribution links to black
possumbilities Nov 17, 2025
b5347b1
add feature flag brand select
possumbilities Nov 21, 2025
bdd7488
add second blob svg
possumbilities Nov 21, 2025
70bbf6c
utilize second blog svg, experiment with blog motion
possumbilities Nov 21, 2025
323581d
add experimental mask styling
possumbilities Nov 24, 2025
181935c
add notes for feature flag logic to test on home
possumbilities Nov 24, 2025
27573a6
adjust notes on feature flag
possumbilities Dec 9, 2025
2f1b35a
add baseline feature_flag logic to page_home for further testing
possumbilities Dec 10, 2025
7200756
change variable name to be less general
possumbilities Dec 10, 2025
487c481
relocate pidgin.css links in header
possumbilities Dec 10, 2025
955dd24
add content-partials baseline
possumbilities Dec 12, 2025
988aebb
add relevant README.md for the pidgin directory and the v1.0 to v2.0 …
possumbilities Dec 12, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
953 changes: 953 additions & 0 deletions src/inc/acf-json/group_69021421a5430.json

Large diffs are not rendered by default.

85 changes: 85 additions & 0 deletions src/inc/acf-json/group_6902191f73759.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,85 @@
{
"key": "group_6902191f73759",
"title": "Focus Feature Settings",
"fields": [
{
"key": "field_691b735fca6de",
"label": "category",
"name": "category",
"aria-label": "",
"type": "text",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"default_value": "",
"maxlength": "",
"allow_in_bindings": 0,
"placeholder": "",
"prepend": "",
"append": ""
},
{
"key": "field_69021aaa07049",
"label": "link text",
"name": "link_text",
"aria-label": "",
"type": "text",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"default_value": "",
"maxlength": "",
"allow_in_bindings": 0,
"placeholder": "",
"prepend": "",
"append": ""
},
{
"key": "field_69021ab20704a",
"label": "link url",
"name": "link_url",
"aria-label": "",
"type": "url",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"default_value": "",
"allow_in_bindings": 0,
"placeholder": ""
}
],
"location": [
[
{
"param": "post_type",
"operator": "==",
"value": "focus-feature"
}
]
],
"menu_order": 0,
"position": "normal",
"style": "default",
"label_placement": "top",
"instruction_placement": "label",
"hide_on_screen": "",
"active": true,
"description": "",
"show_in_rest": 0,
"modified": 1763406717
}
78 changes: 78 additions & 0 deletions src/inc/acf-json/group_691b6fe2f23e6.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,78 @@
{
"key": "group_691b6fe2f23e6",
"title": "Dev Settings",
"fields": [
{
"key": "field_691b6fe3f7be1",
"label": "CSS Dev Hotfixes",
"name": "css_dev_hotfixes",
"aria-label": "",
"type": "textarea",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"default_value": "",
"maxlength": "",
"allow_in_bindings": 0,
"rows": "",
"placeholder": "",
"new_lines": ""
},
{
"key": "field_6920a1493860b",
"label": "Brand Version",
"name": "brand_version",
"aria-label": "",
"type": "select",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"choices": {
"vocabulary1": "Vocabulary 1.x",
"vocabulary2": "Vocabulary 2.x"
},
"default_value": "vocabulary1",
"return_format": "value",
"multiple": 0,
"allow_null": 0,
"allow_in_bindings": 0,
"ui": 0,
"ajax": 0,
"placeholder": ""
}
],
"location": [
[
{
"param": "post_type",
"operator": "==",
"value": "page"
},
{
"param": "current_user_role",
"operator": "==",
"value": "administrator"
}
]
],
"menu_order": 100,
"position": "normal",
"style": "default",
"label_placement": "top",
"instruction_placement": "label",
"hide_on_screen": "",
"active": true,
"description": "",
"show_in_rest": 0,
"modified": 1763746317
}
89 changes: 89 additions & 0 deletions src/inc/acf-json/post_type_690218e6a2ded.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,89 @@
{
"key": "post_type_690218e6a2ded",
"title": "Focus Features",
"menu_order": 0,
"active": true,
"post_type": "focus-feature",
"advanced_configuration": false,
"import_source": "",
"import_date": "",
"labels": {
"name": "Focus Features",
"singular_name": "Focus Feature",
"menu_name": "Focus Features",
"all_items": "All Focus Features",
"edit_item": "Edit Focus Feature",
"view_item": "View Focus Feature",
"view_items": "View Focus Features",
"add_new_item": "Add New Focus Feature",
"add_new": "Add New Focus Feature",
"new_item": "New Focus Feature",
"parent_item_colon": "Parent Focus Feature:",
"search_items": "Search Focus Features",
"not_found": "No focus features found",
"not_found_in_trash": "No focus features found in Trash",
"archives": "Focus Feature Archives",
"attributes": "Focus Feature Attributes",
"featured_image": "",
"set_featured_image": "",
"remove_featured_image": "",
"use_featured_image": "",
"insert_into_item": "Insert into focus feature",
"uploaded_to_this_item": "Uploaded to this focus feature",
"filter_items_list": "Filter focus features list",
"filter_by_date": "Filter focus features by date",
"items_list_navigation": "Focus Features list navigation",
"items_list": "Focus Features list",
"item_published": "Focus Feature published.",
"item_published_privately": "Focus Feature published privately.",
"item_reverted_to_draft": "Focus Feature reverted to draft.",
"item_scheduled": "Focus Feature scheduled.",
"item_updated": "Focus Feature updated.",
"item_link": "Focus Feature Link",
"item_link_description": "A link to a focus feature."
},
"description": "",
"public": true,
"hierarchical": false,
"exclude_from_search": false,
"publicly_queryable": true,
"show_ui": true,
"show_in_menu": true,
"admin_menu_parent": "",
"show_in_admin_bar": true,
"show_in_nav_menus": true,
"show_in_rest": true,
"rest_base": "",
"rest_namespace": "wp\/v2",
"rest_controller_class": "WP_REST_Posts_Controller",
"menu_position": "",
"menu_icon": {
"type": "dashicons",
"value": "dashicons-admin-post"
},
"rename_capabilities": false,
"singular_capability_name": "post",
"plural_capability_name": "posts",
"supports": [
"title",
"editor",
"thumbnail",
"custom-fields"
],
"taxonomies": "",
"has_archive": false,
"has_archive_slug": "",
"rewrite": {
"permalink_rewrite": "post_type_key",
"with_front": "1",
"feeds": "0",
"pages": "1"
},
"query_var": "post_type_key",
"query_var_name": "",
"can_export": true,
"delete_with_user": false,
"register_meta_box_cb": "",
"enter_title_here": "",
"modified": 1761745152
}
22 changes: 22 additions & 0 deletions src/page_home.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php /* Template Name: Index - Home */ ?>

<?php $vocab2 = false; ?>

<?php

get_header('', array( 'body-classes' => 'home-narrative') );
Expand All @@ -9,6 +11,18 @@

<main>

<?php

// feature flag IF here

// IF version feature flag true, load alternative home
// IF version feature flag false, load page as-is
// TODO: where to pull feature flag from (a specific page, or per page, or both?)

?>

<?php if (!$vocab2) : ?>

<article class="topic-summary">
<h2>Better Sharing, Brighter Future</h2>
<figure>
Expand Down Expand Up @@ -217,6 +231,14 @@
<?php endif; ?>


<?php elseif($vocab2): ?>

<h1>Feature Flag is enabled</h1>

<?php endif; ?>



</main>


Expand Down
18 changes: 18 additions & 0 deletions src/pidgin/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
> "A pidgin /ˈpɪdʒɪn/, or pidgin language, is a grammatically simplified form of contact language that develops between two or more groups of people that do not have a language in common: typically, its vocabulary and grammar are limited and often drawn from several languages." ([source][wikipedia-pidgin]).


This directory serves to bridge vocabulary v1.0 to v2.0 whereby both versions can exist simultaneously via a "feature-flag" logic, until such time as v1.0 can be completely removed and replaced with v2.0.


Files loaded from this directory are for v2.0 templates, features, etc. only. The only exception being the ACF fields which occupy the same directory as v1.0.

The following "guidelines" are followed:

1. Any new page templates will reside within the `/src/pidgin` directory and will be picked up automatically by the WP template cascade
2. Older templates will remain within the top level of the theme, but will utilize "feature-flag" based logic calls to load their default v1.0 functions, OR instead to pull pidgin specific `content-partials` or `header/footer/sidebar` files.
3. CSS will pull from `pidgin.css` and will load via relevant `header-pidgin.php` inclusion.
4. Other assets, such as SVG or JS will also load from relevant subdirectories within `/src/pidgin`
5. Should there be a need for custom additions/edits within `functions.php` a separate functions-pidgin.php file would be created within `'src/pidgin', and relevant logic added to `functions.php` to include that functionality via "feature-flag".
6. `pidgin.css` will build from original Vocabulary utilizing specificity and layer overrides where reasonable until such time as it can operate absent v1.0 features.

[wikipedia-pidgin]: https://en.wikipedia.org/wiki/Pidgin
5 changes: 5 additions & 0 deletions src/pidgin/content-partials/team-index.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<?php

// This would contain the alternative content for the team page in vocabulary 2

?>
Loading