added support content formats

This commit is contained in:
2020-03-13 18:23:34 +08:00
parent 98cd6ce639
commit d990c388b8
3 changed files with 25 additions and 4 deletions
+14
View File
@@ -0,0 +1,14 @@
<?php
function zerro_setup() {
add_theme_support(
'post-formats',
array(
'image',)
);
}
add_action( 'after_setup_theme', 'zerro_setup' );
?>