+
- =$card_headline?>
+ =$card_headline?>
- =$card_text?>
+ =$card_text?>
-
-
+
+
@=$card_title?>
diff --git a/themes/bthree/functions.php b/themes/bthree/functions.php
index 5c54324..d88a59e 100644
--- a/themes/bthree/functions.php
+++ b/themes/bthree/functions.php
@@ -919,4 +919,25 @@ function format_bytes($size, $precision = 2)
return round(pow(1024, $base - floor($base)), $precision) .' '. $suffixes[floor($base)];
}
+// Map WordPress block editor font-sizing to Blender Web Assets rem sizing
+function bwa_map_block_editor_font_sizes() {
+ $custom_css = 'html { font-size: 62.5%; }';
+
+ wp_add_inline_style('wp-block-editor', $custom_css);
+}
+
+// Hook function "bwa_map_block_editor_font_sizes" to enqueue_block_editor_assets
+add_action('enqueue_block_editor_assets', 'bwa_map_block_editor_font_sizes');
+
+// Add custom template rendering for Page Helper BWA v2 Upgrade
+function custom_template_redirect() {
+ $current_path = trim(parse_url(add_query_arg(array()), PHP_URL_PATH), '/');
+
+ if ($current_path == 'helper-bwa-v2-upgrade') {
+ include get_template_directory() . '/page-helper-bwa-v2-upgrade.php';
+ exit;
+ }
+}
+
+add_action('template_redirect', 'custom_template_redirect');
?>
diff --git a/themes/bthree/header-static.php b/themes/bthree/header-static.php
index 836c6b8..9f90c15 100644
--- a/themes/bthree/header-static.php
+++ b/themes/bthree/header-static.php
@@ -82,7 +82,7 @@
-
+
diff --git a/themes/bthree/index.php b/themes/bthree/index.php
index e383f6e..07ffc97 100644
--- a/themes/bthree/index.php
+++ b/themes/bthree/index.php
@@ -31,7 +31,7 @@
-