From dedc15464374609f904e390272811d5423c7ca4e Mon Sep 17 00:00:00 2001 From: Cameron Corda Date: Mon, 4 Oct 2021 14:19:07 -0700 Subject: [PATCH 1/2] adding WP admin convenience plugins (collapse ACF, Yoast cleanup, duplicate post) --- wordpress/composer.json | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/wordpress/composer.json b/wordpress/composer.json index 7194c42..48a5629 100644 --- a/wordpress/composer.json +++ b/wordpress/composer.json @@ -52,18 +52,22 @@ "composer/installers": "^1.8", "advanced-custom-fields/advanced-custom-fields-pro": "5.10.1", "roots/wordpress": "5.7.0", + "wpackagist-plugin/acf-repeater-flexible-content-collapser": "1.2.4", "wpackagist-plugin/classic-editor": "1.6.2", + "wpackagist-plugin/duplicate-post": "4.1.2", "wpackagist-plugin/enable-media-replace": "3.5.0", "wpackagist-plugin/filter-page-by-template": "1.6", "wpackagist-plugin/google-apps-login": "3.4.4", "wpackagist-plugin/gutenberg-ramp": "1.1.0", "wpackagist-plugin/post-type-archive-links": "1.3.1", "wpackagist-plugin/post-type-switcher": "3.2.1", + "wpackagist-plugin/redirection": "5.1.3", "wpackagist-plugin/simple-history": "2.42.0", + "wpackagist-plugin/so-clean-up-wp-seo": "3.14.8", "wpackagist-plugin/term-management-tools": "2.0.1", "wpackagist-plugin/wordpress-seo": "17.0", "wpackagist-plugin/wp-graphql": "1.6.4", - "wpackagist-plugin/redirection": "5.1.3", + "wpackagist-plugin/wp-stateless": "3.1.1", "wp-graphql/wp-graphql-acf": "0.5.3", "wp-graphql/wp-graphql-tax-query": "0.1.0", "ashhitch/wp-graphql-yoast-seo": "4.15.0", From 7c67a8efd4adadf3fce7aa66c8fa46cf893b2b7c Mon Sep 17 00:00:00 2001 From: Cameron Corda Date: Mon, 4 Oct 2021 14:35:31 -0700 Subject: [PATCH 2/2] Collapse ACF flex by default --- .../headless/acf-json/group_5f4f3703d9b01.json | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/wordpress/wp-content/themes/headless/acf-json/group_5f4f3703d9b01.json b/wordpress/wp-content/themes/headless/acf-json/group_5f4f3703d9b01.json index 3e97883..91696be 100644 --- a/wordpress/wp-content/themes/headless/acf-json/group_5f4f3703d9b01.json +++ b/wordpress/wp-content/themes/headless/acf-json/group_5f4f3703d9b01.json @@ -15,6 +15,7 @@ "class": "", "id": "" }, + "show_in_graphql": 1, "layouts": { "layout_5f4f372374fe8": { "key": "layout_5f4f372374fe8", @@ -227,7 +228,10 @@ }, "button_label": "Add Section", "min": "", - "max": "" + "max": "", + "hide_collapse": 0, + "collapse_all_flexible": 1, + "btn-icon-only": 0 } ], "location": [ @@ -251,9 +255,7 @@ "description": "", "show_in_graphql": 1, "graphql_field_name": "acfFlex", - "map_graphql_types_from_location_rules": 1, - "graphql_types": [ - "Template_Flex" - ], - "modified": 1626982168 + "map_graphql_types_from_location_rules": 0, + "graphql_types": "", + "modified": 1633383182 } \ No newline at end of file