Browse Source

FSE: add fse theme support flag (#1351)

* Add fse theme support flag

* FSE: drop varia support until ready
Glen Davies 5 years ago
parent
commit
e6aec688d5
2 changed files with 6 additions and 0 deletions
  1. 3 0
      maywood/functions.php
  2. 3 0
      modern-business/functions.php

+ 3 - 0
maywood/functions.php

@@ -99,6 +99,9 @@ if ( ! function_exists( 'maywood_setup' ) ) :
 				),
 			)
 		);
+
+		// Enable Full Site Editing
+		add_theme_support( 'full-site-editing');
 	}
 endif;
 add_action( 'after_setup_theme', 'maywood_setup', 12 );

+ 3 - 0
modern-business/functions.php

@@ -63,6 +63,9 @@ if ( ! function_exists( 'modern_business_setup' ) ) :
 				),
 			)
 		);
+		
+		// Enable Full Site Editing
+		add_theme_support( 'full-site-editing');
 	}
 endif; // modern_business_setup
 add_action( 'after_setup_theme', 'modern_business_setup', 30 );