|
12 | 12 | <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>> |
13 | 13 | <header class="entry-header"> |
14 | 14 | <?php |
15 | | - if ( is_single() ) : |
16 | | - the_title( '<h1 class="entry-title">', '</h1>' ); |
17 | | - else : |
18 | | - the_title( '<h2 class="entry-title"><a href="' . esc_url( get_permalink() ) . '" rel="bookmark">', '</a></h2>' ); |
19 | | - endif; |
| 15 | + if ( is_single() ) : |
| 16 | + the_title( '<h1 class="entry-title">', '</h1>' ); |
| 17 | + else : |
| 18 | + the_title( '<h2 class="entry-title"><a href="' . esc_url( get_permalink() ) . '" rel="bookmark">', '</a></h2>' ); |
| 19 | + endif; |
20 | 20 |
|
21 | | - if ( 'post' === get_post_type() ) : |
| 21 | + if ( 'post' === get_post_type() ) : |
22 | 22 | ?> |
23 | | - <div class="entry-meta"> |
24 | | - <?php |
25 | | - Awps\Core\Tags::posted_on(); |
26 | | - ?> |
27 | | - </div><!-- .entry-meta --> |
| 23 | + <div class="entry-meta"> |
| 24 | + <?php |
| 25 | + Awps\Core\Tags::posted_on(); |
| 26 | + ?> |
| 27 | + </div><!-- .entry-meta --> |
28 | 28 | <?php |
29 | | - endif; |
| 29 | + endif; |
30 | 30 | ?> |
31 | 31 | </header><!-- .entry-header --> |
32 | 32 |
|
33 | 33 | <div class="entry-content"> |
34 | 34 | <?php |
35 | | - the_content( sprintf( |
36 | | - /* translators: %s: Name of current post. */ |
37 | | - wp_kses( __( 'Continue reading %s <span class="meta-nav">→</span>', 'awps' ), array( |
38 | | - 'span' => array( |
39 | | - 'class' => array(), |
40 | | - ), |
41 | | - ) ), |
42 | | - the_title( '<span class="screen-reader-text">"', '"</span>', false ) ) ); |
| 35 | + the_content( |
| 36 | + sprintf( |
| 37 | + wp_kses( |
| 38 | + /* translators: %s: Name of current post. */ |
| 39 | + __( 'Continue reading %s <span class="meta-nav">→</span>', 'awps' ), |
| 40 | + array( |
| 41 | + 'span' => array( |
| 42 | + 'class' => array(), |
| 43 | + ), |
| 44 | + ) |
| 45 | + ), |
| 46 | + the_title( '<span class="screen-reader-text">"', '"</span>', false ) |
| 47 | + ) |
| 48 | + ); |
43 | 49 |
|
44 | | - wp_link_pages( array( |
45 | | - 'before' => '<div class="page-links">' . esc_html__( 'Pages:', 'awps' ), |
46 | | - 'after' => '</div>', |
47 | | - ) ); |
| 50 | + wp_link_pages( |
| 51 | + array( |
| 52 | + 'before' => '<div class="page-links">' . esc_html__( 'Pages:', 'awps' ), |
| 53 | + 'after' => '</div>', |
| 54 | + ) |
| 55 | + ); |
48 | 56 | ?> |
49 | 57 | </div><!-- .entry-content --> |
50 | 58 |
|
|
0 commit comments