File tree 2 files changed +10
-8
lines changed
2 files changed +10
-8
lines changed Original file line number Diff line number Diff line change 16
16
endif ;
17
17
?>
18
18
<div id="primary" class="col-md-8 mb-xs-24 <?php echo esc_attr ( $ layout_class ); ?> ">
19
- <?php
20
- while ( have_posts () ) :
21
- the_post ();
22
- get_template_part ( 'template-parts/content ' , 'attachment ' );
19
+ <?php
20
+ while ( have_posts () ) :
21
+ the_post ();
22
+ get_template_part ( 'template-parts/content ' , 'attachment ' );
23
23
24
- // If comments are open or we have at least one comment, load up the comment template.
25
- if ( comments_open () || get_comments_number () ) :
26
- comments_template ();
27
- endif ;
24
+ // If comments are open or we have at least one comment, load up the comment template.
25
+ if ( comments_open () || get_comments_number () ) :
26
+ comments_template ();
27
+ endif ;
28
28
29
29
endwhile ; // End of the loop.
30
30
?>
Original file line number Diff line number Diff line change 29
29
<div class="entry-content">
30
30
<?php
31
31
$ image = wp_get_attachment_image ( get_the_ID (), 'full ' );
32
+
32
33
echo wp_kses_post ( $ image );
34
+ echo the_content ();
33
35
34
36
$ link_pages_args = array (
35
37
'before ' => '<div class="page-links"> ' . esc_html__ ( 'Pages: ' , 'shapely ' ),
You can’t perform that action at this time.
0 commit comments