diff --git a/src/functions.php b/src/functions.php
index 1c25c32..c810611 100644
--- a/src/functions.php
+++ b/src/functions.php
@@ -24,6 +24,13 @@
define( 'KLEIDERORDNUNG_is_stage', str_contains(KLEIDERORDNUNG_URI, 'stage') );
}
+if ( ! defined( 'KLEIDERORDNUNG_is_localhost' ) ) {
+ define( 'KLEIDERORDNUNG_is_localhost',
+ str_contains(KLEIDERORDNUNG_URI, '/localhost') ||
+ str_contains(KLEIDERORDNUNG_URI, '/bs-local.com')
+ );
+}
+
require_once( KLEIDERORDNUNG_DIR . '/inc/functions/add-theme-support.php' );
require_once( KLEIDERORDNUNG_DIR . '/inc/functions/customize-admin-ui.php' );
require_once( KLEIDERORDNUNG_DIR . '/inc/functions/customize-frontend.php' );
diff --git a/src/inc/functions/customize-frontend.php b/src/inc/functions/customize-frontend.php
index 5f54f2c..160cdb4 100644
--- a/src/inc/functions/customize-frontend.php
+++ b/src/inc/functions/customize-frontend.php
@@ -10,6 +10,9 @@
if (KLEIDERORDNUNG_is_stage) {
$classes[] = 'stage';
}
+ if (KLEIDERORDNUNG_is_localhost) {
+ $classes[] = 'localhost';
+ }
return $classes;
} );
diff --git a/src/inc/structure/html-head.php b/src/inc/structure/html-head.php
index f22665e..67d62d5 100644
--- a/src/inc/structure/html-head.php
+++ b/src/inc/structure/html-head.php
@@ -85,7 +85,7 @@
-
+