fix bug and autoprefixer

This commit is contained in:
2020-07-06 23:17:05 +02:00
parent 8a3625dfab
commit d6138f87fa
7 changed files with 396 additions and 188 deletions
+19 -19
View File
@@ -56,13 +56,13 @@ Timber::$autoescape = false;
// REMOVE EDITOR
function remove_editor() {
remove_post_type_support(
'page', 'editor'
);
remove_post_type_support(
'post', 'editor'
);
remove_post_type_support('page', 'editor');
remove_post_type_support('page', 'comments');
remove_post_type_support('post', 'editor');
remove_post_type_support('post', 'comments');
remove_post_type_support('post', 'author');
remove_post_type_support('post', 'excerpt');
remove_post_type_support('post', 'revisions');
};
add_action('admin_init', 'remove_editor');
@@ -141,18 +141,18 @@ class StarterSite extends Timber\Site {
*
* See: https://codex.wordpress.org/Post_Formats
*/
add_theme_support(
'post-formats',
array(
'aside',
'image',
'video',
'quote',
'link',
'gallery',
'audio',
)
);
// add_theme_support(
// 'post-formats',
// array(
// 'aside',
// 'image',
// 'video',
// 'quote',
// 'link',
// 'gallery',
// 'audio',
// )
// );
add_theme_support( 'menus' );
}