diff --git a/functions.php b/functions.php new file mode 100644 index 0000000..10ae8dd --- /dev/null +++ b/functions.php @@ -0,0 +1,14 @@ + \ No newline at end of file diff --git a/single.php b/single.php index 5bcc01d..1eeaab4 100644 --- a/single.php +++ b/single.php @@ -3,10 +3,8 @@ if ( have_posts() ) { the_post(); - echo '
'; - echo "

", the_title(), "

"; - the_content(); - echo '
'; + + get_template_part( 'template/post/content', get_post_format() ); } get_footer(); diff --git a/template/post/content.php b/template/post/content.php new file mode 100644 index 0000000..c86c9a2 --- /dev/null +++ b/template/post/content.php @@ -0,0 +1,9 @@ +
> + +'; + echo "

", the_title(), "

"; + the_content(); + echo ''; +?> +
\ No newline at end of file