added template part for page content

This commit is contained in:
2020-03-19 12:49:36 +08:00
parent a73391f28e
commit 82eb14d187
2 changed files with 11 additions and 4 deletions
+9
View File
@@ -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>