File tree 2 files changed +30
-21
lines changed
2 files changed +30
-21
lines changed Original file line number Diff line number Diff line change 1
- <?php get_header ();
1
+ <?php
2
+ get_header ();
2
3
3
4
if ( have_posts () ) :
4
5
while ( have_posts () ) :
5
- the_post (); ?>
6
-
7
- <h1> <?php the_title (); ?> </h1 >
8
-
9
- <div class="entry-content" >
10
- <?php the_content (); ? >
11
- </div >
12
-
13
- <?php
14
- endwhile ;
6
+ the_post ();
7
+ ?>
8
+ <header class="container" >
9
+ <h1> <?php the_title (); ?> </h1>
10
+ </header >
11
+ <div class="blocks-container" >
12
+ <?php the_content (); ? >
13
+ </div>
14
+ <?php
15
+ endwhile ;
15
16
endif ;
16
- get_footer ();
17
+
18
+ get_footer ();
Original file line number Diff line number Diff line change 1
- <?php get_header ();
2
- the_post ();
3
- ?>
4
- <header class="container">
5
- <h1><?php the_title (); ?> </h1>
6
- </header>
7
- <div class="blocks-container">
8
- <?php the_content (); ?> ;
9
- </div>
10
1
<?php
2
+ get_header ();
3
+
4
+ if ( have_posts () ) :
5
+ while ( have_posts () ) :
6
+ the_post ();
7
+ ?>
8
+ <header class="container">
9
+ <h1><?php the_title (); ?> </h1>
10
+ </header>
11
+ <div class="blocks-container">
12
+ <?php the_content (); ?>
13
+ </div>
14
+ <?php
15
+ endwhile ;
16
+ endif ;
17
+
11
18
get_footer ();
You can’t perform that action at this time.
0 commit comments