parent
98cd6ce639
commit
d990c388b8
@ -0,0 +1,14 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
function zerro_setup() {
|
||||||
|
|
||||||
|
add_theme_support(
|
||||||
|
'post-formats',
|
||||||
|
array(
|
||||||
|
'image',)
|
||||||
|
);
|
||||||
|
|
||||||
|
}
|
||||||
|
add_action( 'after_setup_theme', 'zerro_setup' );
|
||||||
|
|
||||||
|
?>
|
@ -0,0 +1,9 @@
|
|||||||
|
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
|
||||||
|
|
||||||
|
<?php
|
||||||
|
echo '<div class="content">';
|
||||||
|
echo "<h1>", the_title(), "</h1>";
|
||||||
|
the_content();
|
||||||
|
echo '</div>';
|
||||||
|
?>
|
||||||
|
</article>
|
Loading…
Reference in new issue