diff --git a/generators/app/templates/templates/twig/layouts/base.twig b/generators/app/templates/templates/twig/layouts/base.twig
index f556627c..76c23d9c 100644
--- a/generators/app/templates/templates/twig/layouts/base.twig
+++ b/generators/app/templates/templates/twig/layouts/base.twig
@@ -1,16 +1,8 @@
-
- <% if (projectType == 'wp-with-fe') { %>
- {% if wp_title %}
- {{ wp_title }} - {{ site.name }}
- {% else %}
- {{ site.name }}
- {% endif %}
- <% } else { %>
- {{ pageName }} - <%= name %>
- <% } %>
+ <% if (projectType == 'fe') { %>
+ {{ pageName }} - <%= name %><% } %>
diff --git a/generators/wp/templates/chisel-starter-theme/Chisel/WpExtensions.php b/generators/wp/templates/chisel-starter-theme/Chisel/WpExtensions.php
index 496ace7b..441fa1fa 100644
--- a/generators/wp/templates/chisel-starter-theme/Chisel/WpExtensions.php
+++ b/generators/wp/templates/chisel-starter-theme/Chisel/WpExtensions.php
@@ -10,19 +10,20 @@
*/
class WpExtensions {
public function __construct() {
- add_action( 'init', array( $this, 'extend' ) );
- }
-
- public function extend() {
$this->themeSupport();
- $this->registerPostTypes();
- $this->registerTaxonomies();
+ add_action( 'init', array( $this, 'init' ) );
}
- public function themeSupport() {
+ private function themeSupport() {
add_theme_support( 'post-formats' );
add_theme_support( 'post-thumbnails' );
add_theme_support( 'menus' );
+ add_theme_support( 'title-tag' );
+ }
+
+ public function init() {
+ $this->registerPostTypes();
+ $this->registerTaxonomies();
}
/**