add template

This commit is contained in:
2020-05-20 15:58:33 +02:00
parent cf7a95d818
commit c602563e67
85 changed files with 36637 additions and 375 deletions
+13
View File
@@ -53,6 +53,19 @@ Timber::$dirname = array( 'templates', 'views' );
Timber::$autoescape = false;
// REMOVE EDITOR
function remove_editor() {
remove_post_type_support(
'page', 'editor'
);
remove_post_type_support(
'post', 'editor'
);
};
add_action('admin_init', 'remove_editor');
/**
* We're going to configure our theme inside of a subclass of Timber\Site
* You can move this to its own file and include here via php's include("MySite.php")