fix bug and autoprefixer
This commit is contained in:
@@ -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' );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user