diff --git a/client-mu-plugins/goodbids/blocks/main-footer/block.json b/client-mu-plugins/goodbids/blocks/main-footer/block.json
new file mode 100644
index 000000000..da19e7f1c
--- /dev/null
+++ b/client-mu-plugins/goodbids/blocks/main-footer/block.json
@@ -0,0 +1,13 @@
+{
+ "name": "main-footer",
+ "title": "Main Footer",
+ "description": "Displays the main site footer",
+ "icon": "text-page",
+ "textdomain": "goodbids",
+ "acf": {
+ "mode": "preview"
+ },
+ "supports": {
+ "jsx": false
+ }
+}
diff --git a/client-mu-plugins/goodbids/blocks/main-footer/render.php b/client-mu-plugins/goodbids/blocks/main-footer/render.php
new file mode 100644
index 000000000..d01929e4f
--- /dev/null
+++ b/client-mu-plugins/goodbids/blocks/main-footer/render.php
@@ -0,0 +1,37 @@
+
+
+>
+
+
+
+
+
+
+
%s',
+ esc_html__( '#', 'goodbids' ),
+ esc_html__( 'Terms & Conditions', 'goodbids' )
+ );
+ ?>
+
%s',
+ esc_html__( '#', 'goodbids' ),
+ esc_html__( 'Privacy Policy', 'goodbids' )
+ );
+ ?>
+
+
+
+
diff --git a/client-mu-plugins/goodbids/src/classes/Network/Sites.php b/client-mu-plugins/goodbids/src/classes/Network/Sites.php
index ac9929eee..fb4fb512e 100644
--- a/client-mu-plugins/goodbids/src/classes/Network/Sites.php
+++ b/client-mu-plugins/goodbids/src/classes/Network/Sites.php
@@ -50,6 +50,7 @@ public function __construct() {
$this->activate_child_theme_on_new_site();
$this->default_child_theme_logo();
$this->set_default_posts_per_page();
+ $this->lock_block_editor();
}
/**
@@ -436,4 +437,25 @@ function ( int $site_id ): void {
}
);
}
+
+ /**
+ * Only allow super admins to lock and unlock blocks.
+ *
+ * @since 1.0.0
+ *
+ * @return void
+ */
+ private function lock_block_editor(): void {
+ add_filter(
+ 'block_editor_settings_all',
+ static function ( $settings, $context ) {
+ if ( ! is_super_admin() ) {
+ $settings['canLockBlocks'] = false;
+ }
+ return $settings;
+ },
+ 10,
+ 2
+ );
+ }
}
diff --git a/themes/goodbids-main/parts/header.html b/themes/goodbids-main/parts/header.html
index 632900cbf..fc9a2d231 100644
--- a/themes/goodbids-main/parts/header.html
+++ b/themes/goodbids-main/parts/header.html
@@ -1,22 +1,24 @@
-
-
+
+
-
\ No newline at end of file
+
diff --git a/themes/goodbids-main/patterns/footer.php b/themes/goodbids-main/patterns/footer.php
index 550acb816..a51656516 100644
--- a/themes/goodbids-main/patterns/footer.php
+++ b/themes/goodbids-main/patterns/footer.php
@@ -1,128 +1,10 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- WordPress';
- printf(
- /* Translators: Designed with WordPress */
- esc_html__( 'Designed with %1$s', 'goodbids-main' ),
- $wordpress_link
- );
- ?>
-
-
-
-
-
-
+
diff --git a/themes/goodbids-nonprofit/parts/footer.html b/themes/goodbids-nonprofit/parts/footer.html
index 71540e89d..090f1aa36 100644
--- a/themes/goodbids-nonprofit/parts/footer.html
+++ b/themes/goodbids-nonprofit/parts/footer.html
@@ -1 +1,2 @@
+
diff --git a/themes/goodbids-nonprofit/patterns/footer-nonprofit.php b/themes/goodbids-nonprofit/patterns/footer-nonprofit.php
index 3c27146d8..4ee3a11d9 100644
--- a/themes/goodbids-nonprofit/patterns/footer-nonprofit.php
+++ b/themes/goodbids-nonprofit/patterns/footer-nonprofit.php
@@ -29,26 +29,6 @@
-
-
-
-