@@ -15,15 +15,15 @@ discard block |
||
| 15 | 15 | |
| 16 | 16 | <div class="entry-content"> |
| 17 | 17 | <?php |
| 18 | - the_content(); |
|
| 19 | - |
|
| 20 | - wp_link_pages( array( |
|
| 21 | - 'before' => '<div class="lsx-postnav-wrapper"><div class="lsx-postnav">', |
|
| 22 | - 'after' => '</div></div>', |
|
| 23 | - 'link_before' => '<span>', |
|
| 24 | - 'link_after' => '</span>', |
|
| 25 | - ) ); |
|
| 26 | - ?> |
|
| 18 | + the_content(); |
|
| 19 | + |
|
| 20 | + wp_link_pages( array( |
|
| 21 | + 'before' => '<div class="lsx-postnav-wrapper"><div class="lsx-postnav">', |
|
| 22 | + 'after' => '</div></div>', |
|
| 23 | + 'link_before' => '<span>', |
|
| 24 | + 'link_after' => '</span>', |
|
| 25 | + ) ); |
|
| 26 | + ?> |
|
| 27 | 27 | </div><!-- .entry-content --> |
| 28 | 28 | |
| 29 | 29 | <footer class="footer-meta clearfix"> |
@@ -32,19 +32,19 @@ discard block |
||
| 32 | 32 | <?php lsx_content_post_tags(); ?> |
| 33 | 33 | |
| 34 | 34 | <?php |
| 35 | - if ( class_exists( 'LSX_Sharing' ) ) { |
|
| 36 | - lsx_content_sharing(); |
|
| 37 | - } else { |
|
| 38 | - if ( function_exists( 'sharing_display' ) ) { |
|
| 39 | - sharing_display( '', true ); |
|
| 40 | - } |
|
| 41 | - |
|
| 42 | - if ( class_exists( 'Jetpack_Likes' ) ) { |
|
| 43 | - $custom_likes = new Jetpack_Likes(); |
|
| 44 | - echo wp_kses_post( $custom_likes->post_likes( '' ) ); |
|
| 45 | - } |
|
| 46 | - } |
|
| 47 | - ?> |
|
| 35 | + if ( class_exists( 'LSX_Sharing' ) ) { |
|
| 36 | + lsx_content_sharing(); |
|
| 37 | + } else { |
|
| 38 | + if ( function_exists( 'sharing_display' ) ) { |
|
| 39 | + sharing_display( '', true ); |
|
| 40 | + } |
|
| 41 | + |
|
| 42 | + if ( class_exists( 'Jetpack_Likes' ) ) { |
|
| 43 | + $custom_likes = new Jetpack_Likes(); |
|
| 44 | + echo wp_kses_post( $custom_likes->post_likes( '' ) ); |
|
| 45 | + } |
|
| 46 | + } |
|
| 47 | + ?> |
|
| 48 | 48 | <?php endif ?> |
| 49 | 49 | </footer><!-- .footer-meta --> |
| 50 | 50 | |
@@ -16,13 +16,13 @@ discard block |
||
| 16 | 16 | |
| 17 | 17 | // Exit if accessed directly. |
| 18 | 18 | if ( ! defined( 'ABSPATH' ) ) { |
| 19 | - exit; |
|
| 19 | + exit; |
|
| 20 | 20 | } |
| 21 | 21 | |
| 22 | 22 | global $product; |
| 23 | 23 | |
| 24 | 24 | if ( ! is_a( $product, 'WC_Product' ) ) { |
| 25 | - return; |
|
| 25 | + return; |
|
| 26 | 26 | } ?> |
| 27 | 27 | |
| 28 | 28 | <div class="lsx-woocommerce-slot"> |
@@ -43,8 +43,8 @@ discard block |
||
| 43 | 43 | <?php endif; ?> |
| 44 | 44 | |
| 45 | 45 | <?php |
| 46 | - $price_html = $product->get_price_html(); |
|
| 47 | - if ( $price_html ) : ?> |
|
| 46 | + $price_html = $product->get_price_html(); |
|
| 47 | + if ( $price_html ) : ?> |
|
| 48 | 48 | <div class="lsx-woocommerce-price"> |
| 49 | 49 | <?php echo wp_kses_post( $price_html ); ?> |
| 50 | 50 | </div> |
@@ -10,38 +10,38 @@ discard block |
||
| 10 | 10 | <?php lsx_entry_before(); ?> |
| 11 | 11 | |
| 12 | 12 | <?php |
| 13 | - $no_thumb_post_types = array( |
|
| 14 | - 'audio' => 'audio', |
|
| 15 | - 'gallery' => 'gallery', |
|
| 16 | - 'image' => 'image', |
|
| 17 | - 'link' => 'link', |
|
| 18 | - 'quote' => 'quote', |
|
| 19 | - 'video' => 'video', |
|
| 20 | - ); |
|
| 21 | - $no_thumb_post_formats = apply_filters( 'lsx_no_thumb_post_formats', $no_thumb_post_types ); |
|
| 22 | - |
|
| 23 | - $has_thumb = has_post_thumbnail() && ! has_post_format( $no_thumb_post_formats ); |
|
| 24 | - |
|
| 25 | - if ( $has_thumb ) { |
|
| 26 | - $thumb_class = 'has-thumb'; |
|
| 27 | - } else { |
|
| 28 | - $thumb_class = 'no-thumb'; |
|
| 29 | - } |
|
| 30 | - |
|
| 31 | - $blog_layout = apply_filters( 'lsx_blog_layout', 'default' ); |
|
| 32 | - |
|
| 33 | - $image_class = ''; |
|
| 34 | - |
|
| 35 | - $thumbnail_id = get_post_thumbnail_id( get_the_ID() ); |
|
| 36 | - if ( empty( $thumbnail_id ) ) { |
|
| 37 | - $thumbnail_id = apply_filters( 'lsx_get_thumbnail_post_placeholder_id', $thumbnail_id, get_the_ID() ); |
|
| 38 | - } |
|
| 39 | - $image_arr = wp_get_attachment_image_src( $thumbnail_id, 'lsx-thumbnail-single' ); |
|
| 40 | - $image_src = ''; |
|
| 41 | - |
|
| 42 | - if ( is_array( $image_arr ) ) { |
|
| 43 | - $image_src = $image_arr[0]; |
|
| 44 | - } |
|
| 13 | + $no_thumb_post_types = array( |
|
| 14 | + 'audio' => 'audio', |
|
| 15 | + 'gallery' => 'gallery', |
|
| 16 | + 'image' => 'image', |
|
| 17 | + 'link' => 'link', |
|
| 18 | + 'quote' => 'quote', |
|
| 19 | + 'video' => 'video', |
|
| 20 | + ); |
|
| 21 | + $no_thumb_post_formats = apply_filters( 'lsx_no_thumb_post_formats', $no_thumb_post_types ); |
|
| 22 | + |
|
| 23 | + $has_thumb = has_post_thumbnail() && ! has_post_format( $no_thumb_post_formats ); |
|
| 24 | + |
|
| 25 | + if ( $has_thumb ) { |
|
| 26 | + $thumb_class = 'has-thumb'; |
|
| 27 | + } else { |
|
| 28 | + $thumb_class = 'no-thumb'; |
|
| 29 | + } |
|
| 30 | + |
|
| 31 | + $blog_layout = apply_filters( 'lsx_blog_layout', 'default' ); |
|
| 32 | + |
|
| 33 | + $image_class = ''; |
|
| 34 | + |
|
| 35 | + $thumbnail_id = get_post_thumbnail_id( get_the_ID() ); |
|
| 36 | + if ( empty( $thumbnail_id ) ) { |
|
| 37 | + $thumbnail_id = apply_filters( 'lsx_get_thumbnail_post_placeholder_id', $thumbnail_id, get_the_ID() ); |
|
| 38 | + } |
|
| 39 | + $image_arr = wp_get_attachment_image_src( $thumbnail_id, 'lsx-thumbnail-single' ); |
|
| 40 | + $image_src = ''; |
|
| 41 | + |
|
| 42 | + if ( is_array( $image_arr ) ) { |
|
| 43 | + $image_src = $image_arr[0]; |
|
| 44 | + } |
|
| 45 | 45 | ?> |
| 46 | 46 | |
| 47 | 47 | <article id="post-<?php the_ID(); ?>" <?php post_class( array( 'lsx-slot', $thumb_class ) ); ?>> |
@@ -59,23 +59,23 @@ discard block |
||
| 59 | 59 | <?php endif; ?> |
| 60 | 60 | |
| 61 | 61 | <?php |
| 62 | - $format = get_post_format(); |
|
| 62 | + $format = get_post_format(); |
|
| 63 | 63 | |
| 64 | - if ( false === $format ) { |
|
| 65 | - $format = 'standard'; |
|
| 66 | - $show_on_front = get_option( 'show_on_front', 'posts' ); |
|
| 64 | + if ( false === $format ) { |
|
| 65 | + $format = 'standard'; |
|
| 66 | + $show_on_front = get_option( 'show_on_front', 'posts' ); |
|
| 67 | 67 | |
| 68 | - if ( 'page' === $show_on_front ) { |
|
| 69 | - $archive_link = get_permalink( get_option( 'page_for_posts' ) ); |
|
| 70 | - } else { |
|
| 71 | - $archive_link = home_url(); |
|
| 72 | - } |
|
| 73 | - } else { |
|
| 74 | - $archive_link = get_post_format_link( $format ); |
|
| 75 | - } |
|
| 68 | + if ( 'page' === $show_on_front ) { |
|
| 69 | + $archive_link = get_permalink( get_option( 'page_for_posts' ) ); |
|
| 70 | + } else { |
|
| 71 | + $archive_link = home_url(); |
|
| 72 | + } |
|
| 73 | + } else { |
|
| 74 | + $archive_link = get_post_format_link( $format ); |
|
| 75 | + } |
|
| 76 | 76 | |
| 77 | - $format = lsx_translate_format_to_fontawesome( $format ); |
|
| 78 | - ?> |
|
| 77 | + $format = lsx_translate_format_to_fontawesome( $format ); |
|
| 78 | + ?> |
|
| 79 | 79 | |
| 80 | 80 | <h1 class="entry-title"> |
| 81 | 81 | <?php if ( has_post_thumbnail() ) : ?> |
@@ -109,16 +109,16 @@ discard block |
||
| 109 | 109 | |
| 110 | 110 | <div class="entry-summary"> |
| 111 | 111 | <?php |
| 112 | - if ( ! has_excerpt() ) { |
|
| 112 | + if ( ! has_excerpt() ) { |
|
| 113 | 113 | |
| 114 | - $excerpt_more = '<p><a class="moretag" href="' . esc_url( get_permalink() ) . '">' . esc_html__( 'Read More', 'lsx' ) . '</a></p>'; |
|
| 115 | - $content = wp_trim_words( get_the_content(), 30 ); |
|
| 116 | - $content = '<p>' . $content . '</p>' . $excerpt_more; |
|
| 117 | - echo wp_kses_post( $content ); |
|
| 118 | - } else { |
|
| 119 | - the_excerpt(); |
|
| 120 | - } |
|
| 121 | - ?> |
|
| 114 | + $excerpt_more = '<p><a class="moretag" href="' . esc_url( get_permalink() ) . '">' . esc_html__( 'Read More', 'lsx' ) . '</a></p>'; |
|
| 115 | + $content = wp_trim_words( get_the_content(), 30 ); |
|
| 116 | + $content = '<p>' . $content . '</p>' . $excerpt_more; |
|
| 117 | + echo wp_kses_post( $content ); |
|
| 118 | + } else { |
|
| 119 | + the_excerpt(); |
|
| 120 | + } |
|
| 121 | + ?> |
|
| 122 | 122 | |
| 123 | 123 | </div><!-- .entry-summary --> |
| 124 | 124 | |
@@ -134,15 +134,15 @@ discard block |
||
| 134 | 134 | |
| 135 | 135 | <div class="entry-content"> |
| 136 | 136 | <?php |
| 137 | - the_content(); |
|
| 138 | - |
|
| 139 | - wp_link_pages( array( |
|
| 140 | - 'before' => '<div class="lsx-postnav-wrapper"><div class="lsx-postnav">', |
|
| 141 | - 'after' => '</div></div>', |
|
| 142 | - 'link_before' => '<span>', |
|
| 143 | - 'link_after' => '</span>', |
|
| 144 | - ) ); |
|
| 145 | - ?> |
|
| 137 | + the_content(); |
|
| 138 | + |
|
| 139 | + wp_link_pages( array( |
|
| 140 | + 'before' => '<div class="lsx-postnav-wrapper"><div class="lsx-postnav">', |
|
| 141 | + 'after' => '</div></div>', |
|
| 142 | + 'link_before' => '<span>', |
|
| 143 | + 'link_after' => '</span>', |
|
| 144 | + ) ); |
|
| 145 | + ?> |
|
| 146 | 146 | </div><!-- .entry-content --> |
| 147 | 147 | |
| 148 | 148 | <?php endif; ?> |
@@ -162,22 +162,22 @@ discard block |
||
| 162 | 162 | <div class="post-comments"> |
| 163 | 163 | <a href="<?php the_permalink(); ?>#comments"> |
| 164 | 164 | <?php |
| 165 | - if ( '1' === $comments_number ) { |
|
| 166 | - echo esc_html_x( 'One Comment', 'content.php', 'lsx' ); |
|
| 167 | - } else { |
|
| 168 | - printf( |
|
| 169 | - /* Translators: %s: number of comments */ |
|
| 170 | - esc_html( _nx( |
|
| 171 | - '%s Comment', |
|
| 172 | - '%s Comments', |
|
| 173 | - $comments_number, |
|
| 174 | - 'content.php', |
|
| 175 | - 'lsx' |
|
| 176 | - ) ), |
|
| 177 | - esc_html( number_format_i18n( $comments_number ) ) |
|
| 178 | - ); |
|
| 179 | - } |
|
| 180 | - ?> |
|
| 165 | + if ( '1' === $comments_number ) { |
|
| 166 | + echo esc_html_x( 'One Comment', 'content.php', 'lsx' ); |
|
| 167 | + } else { |
|
| 168 | + printf( |
|
| 169 | + /* Translators: %s: number of comments */ |
|
| 170 | + esc_html( _nx( |
|
| 171 | + '%s Comment', |
|
| 172 | + '%s Comments', |
|
| 173 | + $comments_number, |
|
| 174 | + 'content.php', |
|
| 175 | + 'lsx' |
|
| 176 | + ) ), |
|
| 177 | + esc_html( number_format_i18n( $comments_number ) ) |
|
| 178 | + ); |
|
| 179 | + } |
|
| 180 | + ?> |
|
| 181 | 181 | </a> |
| 182 | 182 | </div> |
| 183 | 183 | <?php endif ?> |
@@ -10,34 +10,34 @@ discard block |
||
| 10 | 10 | <?php lsx_entry_before(); ?> |
| 11 | 11 | |
| 12 | 12 | <?php |
| 13 | - $no_thumb_post_types = array( |
|
| 14 | - 'audio' => 'audio', |
|
| 15 | - 'gallery' => 'gallery', |
|
| 16 | - 'image' => 'image', |
|
| 17 | - 'link' => 'link', |
|
| 18 | - 'quote' => 'quote', |
|
| 19 | - 'video' => 'video', |
|
| 20 | - ); |
|
| 21 | - $no_thumb_post_formats = apply_filters( 'lsx_no_thumb_post_formats', $no_thumb_post_types ); |
|
| 22 | - |
|
| 23 | - $has_thumb = has_post_thumbnail() && ! has_post_format( $no_thumb_post_formats ); |
|
| 24 | - |
|
| 25 | - if ( $has_thumb ) { |
|
| 26 | - $thumb_class = 'has-thumb'; |
|
| 27 | - } else { |
|
| 28 | - $thumb_class = 'no-thumb'; |
|
| 29 | - } |
|
| 30 | - |
|
| 31 | - $blog_layout = apply_filters( 'lsx_blog_layout', 'default' ); |
|
| 32 | - |
|
| 33 | - $image_class = ''; |
|
| 34 | - |
|
| 35 | - $thumbnail_id = get_post_thumbnail_id( get_the_ID() ); |
|
| 36 | - $image_arr = wp_get_attachment_image_src( $thumbnail_id, 'lsx-thumbnail-single' ); |
|
| 37 | - |
|
| 38 | - if ( is_array( $image_arr ) ) { |
|
| 39 | - $image_src = $image_arr[0]; |
|
| 40 | - } |
|
| 13 | + $no_thumb_post_types = array( |
|
| 14 | + 'audio' => 'audio', |
|
| 15 | + 'gallery' => 'gallery', |
|
| 16 | + 'image' => 'image', |
|
| 17 | + 'link' => 'link', |
|
| 18 | + 'quote' => 'quote', |
|
| 19 | + 'video' => 'video', |
|
| 20 | + ); |
|
| 21 | + $no_thumb_post_formats = apply_filters( 'lsx_no_thumb_post_formats', $no_thumb_post_types ); |
|
| 22 | + |
|
| 23 | + $has_thumb = has_post_thumbnail() && ! has_post_format( $no_thumb_post_formats ); |
|
| 24 | + |
|
| 25 | + if ( $has_thumb ) { |
|
| 26 | + $thumb_class = 'has-thumb'; |
|
| 27 | + } else { |
|
| 28 | + $thumb_class = 'no-thumb'; |
|
| 29 | + } |
|
| 30 | + |
|
| 31 | + $blog_layout = apply_filters( 'lsx_blog_layout', 'default' ); |
|
| 32 | + |
|
| 33 | + $image_class = ''; |
|
| 34 | + |
|
| 35 | + $thumbnail_id = get_post_thumbnail_id( get_the_ID() ); |
|
| 36 | + $image_arr = wp_get_attachment_image_src( $thumbnail_id, 'lsx-thumbnail-single' ); |
|
| 37 | + |
|
| 38 | + if ( is_array( $image_arr ) ) { |
|
| 39 | + $image_src = $image_arr[0]; |
|
| 40 | + } |
|
| 41 | 41 | ?> |
| 42 | 42 | |
| 43 | 43 | <article id="post-<?php the_ID(); ?>" <?php post_class( array( 'lsx-slot', $thumb_class ) ); ?>> |
@@ -55,23 +55,23 @@ discard block |
||
| 55 | 55 | <?php endif; ?> |
| 56 | 56 | |
| 57 | 57 | <?php |
| 58 | - $format = get_post_format(); |
|
| 58 | + $format = get_post_format(); |
|
| 59 | 59 | |
| 60 | - if ( false === $format ) { |
|
| 61 | - $format = 'standard'; |
|
| 62 | - $show_on_front = get_option( 'show_on_front', 'posts' ); |
|
| 60 | + if ( false === $format ) { |
|
| 61 | + $format = 'standard'; |
|
| 62 | + $show_on_front = get_option( 'show_on_front', 'posts' ); |
|
| 63 | 63 | |
| 64 | - if ( 'page' === $show_on_front ) { |
|
| 65 | - $archive_link = get_permalink( get_option( 'page_for_posts' ) ); |
|
| 66 | - } else { |
|
| 67 | - $archive_link = home_url(); |
|
| 68 | - } |
|
| 69 | - } else { |
|
| 70 | - $archive_link = get_post_format_link( $format ); |
|
| 71 | - } |
|
| 64 | + if ( 'page' === $show_on_front ) { |
|
| 65 | + $archive_link = get_permalink( get_option( 'page_for_posts' ) ); |
|
| 66 | + } else { |
|
| 67 | + $archive_link = home_url(); |
|
| 68 | + } |
|
| 69 | + } else { |
|
| 70 | + $archive_link = get_post_format_link( $format ); |
|
| 71 | + } |
|
| 72 | 72 | |
| 73 | - $format = lsx_translate_format_to_fontawesome( $format ); |
|
| 74 | - ?> |
|
| 73 | + $format = lsx_translate_format_to_fontawesome( $format ); |
|
| 74 | + ?> |
|
| 75 | 75 | |
| 76 | 76 | <h2 class="entry-title"> |
| 77 | 77 | <?php if ( has_post_thumbnail() ) : ?> |
@@ -104,16 +104,16 @@ discard block |
||
| 104 | 104 | |
| 105 | 105 | <div class="entry-summary"> |
| 106 | 106 | <?php |
| 107 | - if ( ! has_excerpt() ) { |
|
| 108 | - |
|
| 109 | - $excerpt_more = '<p><a class="moretag" href="' . esc_url( get_permalink() ) . '">' . esc_html__( 'Read More', 'lsx' ) . '</a></p>'; |
|
| 110 | - $content = wp_trim_words( get_the_content(), 50 ); |
|
| 111 | - $content = '<p>' . $content . '</p>' . $excerpt_more; |
|
| 112 | - echo wp_kses_post( $content ); |
|
| 113 | - } else { |
|
| 114 | - the_excerpt(); |
|
| 115 | - } |
|
| 116 | - ?> |
|
| 107 | + if ( ! has_excerpt() ) { |
|
| 108 | + |
|
| 109 | + $excerpt_more = '<p><a class="moretag" href="' . esc_url( get_permalink() ) . '">' . esc_html__( 'Read More', 'lsx' ) . '</a></p>'; |
|
| 110 | + $content = wp_trim_words( get_the_content(), 50 ); |
|
| 111 | + $content = '<p>' . $content . '</p>' . $excerpt_more; |
|
| 112 | + echo wp_kses_post( $content ); |
|
| 113 | + } else { |
|
| 114 | + the_excerpt(); |
|
| 115 | + } |
|
| 116 | + ?> |
|
| 117 | 117 | </div><!-- .entry-summary --> |
| 118 | 118 | |
| 119 | 119 | <?php elseif ( has_post_format( array( 'link' ) ) ) : ?> |
@@ -128,15 +128,15 @@ discard block |
||
| 128 | 128 | |
| 129 | 129 | <div class="entry-content"> |
| 130 | 130 | <?php |
| 131 | - the_content(); |
|
| 132 | - |
|
| 133 | - wp_link_pages( array( |
|
| 134 | - 'before' => '<div class="lsx-postnav-wrapper"><div class="lsx-postnav">', |
|
| 135 | - 'after' => '</div></div>', |
|
| 136 | - 'link_before' => '<span>', |
|
| 137 | - 'link_after' => '</span>', |
|
| 138 | - ) ); |
|
| 139 | - ?> |
|
| 131 | + the_content(); |
|
| 132 | + |
|
| 133 | + wp_link_pages( array( |
|
| 134 | + 'before' => '<div class="lsx-postnav-wrapper"><div class="lsx-postnav">', |
|
| 135 | + 'after' => '</div></div>', |
|
| 136 | + 'link_before' => '<span>', |
|
| 137 | + 'link_after' => '</span>', |
|
| 138 | + ) ); |
|
| 139 | + ?> |
|
| 140 | 140 | </div><!-- .entry-content --> |
| 141 | 141 | |
| 142 | 142 | <?php endif; ?> |
@@ -155,22 +155,22 @@ discard block |
||
| 155 | 155 | <div class="post-comments"> |
| 156 | 156 | <a href="<?php the_permalink(); ?>#comments"> |
| 157 | 157 | <?php |
| 158 | - if ( '1' === $comments_number ) { |
|
| 159 | - echo esc_html_x( 'One Comment', 'content.php', 'lsx' ); |
|
| 160 | - } else { |
|
| 161 | - printf( |
|
| 162 | - /* Translators: %s: number of comments */ |
|
| 163 | - esc_html( _nx( |
|
| 164 | - '%s Comment', |
|
| 165 | - '%s Comments', |
|
| 166 | - $comments_number, |
|
| 167 | - 'content.php', |
|
| 168 | - 'lsx' |
|
| 169 | - ) ), |
|
| 170 | - esc_html( number_format_i18n( $comments_number ) ) |
|
| 171 | - ); |
|
| 172 | - } |
|
| 173 | - ?> |
|
| 158 | + if ( '1' === $comments_number ) { |
|
| 159 | + echo esc_html_x( 'One Comment', 'content.php', 'lsx' ); |
|
| 160 | + } else { |
|
| 161 | + printf( |
|
| 162 | + /* Translators: %s: number of comments */ |
|
| 163 | + esc_html( _nx( |
|
| 164 | + '%s Comment', |
|
| 165 | + '%s Comments', |
|
| 166 | + $comments_number, |
|
| 167 | + 'content.php', |
|
| 168 | + 'lsx' |
|
| 169 | + ) ), |
|
| 170 | + esc_html( number_format_i18n( $comments_number ) ) |
|
| 171 | + ); |
|
| 172 | + } |
|
| 173 | + ?> |
|
| 174 | 174 | </a> |
| 175 | 175 | </div> |
| 176 | 176 | <?php endif ?> |
@@ -15,15 +15,15 @@ |
||
| 15 | 15 | |
| 16 | 16 | <div class="entry-content"> |
| 17 | 17 | <?php |
| 18 | - the_content(); |
|
| 19 | - |
|
| 20 | - wp_link_pages( array( |
|
| 21 | - 'before' => '<div class="lsx-postnav-wrapper"><div class="lsx-postnav">', |
|
| 22 | - 'after' => '</div></div>', |
|
| 23 | - 'link_before' => '<span>', |
|
| 24 | - 'link_after' => '</span>', |
|
| 25 | - ) ); |
|
| 26 | - ?> |
|
| 18 | + the_content(); |
|
| 19 | + |
|
| 20 | + wp_link_pages( array( |
|
| 21 | + 'before' => '<div class="lsx-postnav-wrapper"><div class="lsx-postnav">', |
|
| 22 | + 'after' => '</div></div>', |
|
| 23 | + 'link_before' => '<span>', |
|
| 24 | + 'link_after' => '</span>', |
|
| 25 | + ) ); |
|
| 26 | + ?> |
|
| 27 | 27 | </div><!-- .entry-content --> |
| 28 | 28 | |
| 29 | 29 | <?php lsx_entry_bottom(); ?> |
@@ -18,15 +18,15 @@ |
||
| 18 | 18 | <?php lsx_entry_inside_top(); ?> |
| 19 | 19 | |
| 20 | 20 | <?php |
| 21 | - the_content(); |
|
| 22 | - |
|
| 23 | - wp_link_pages( array( |
|
| 24 | - 'before' => '<div class="lsx-postnav-wrapper"><div class="lsx-postnav">', |
|
| 25 | - 'after' => '</div></div>', |
|
| 26 | - 'link_before' => '<span>', |
|
| 27 | - 'link_after' => '</span>', |
|
| 28 | - ) ); |
|
| 29 | - ?> |
|
| 21 | + the_content(); |
|
| 22 | + |
|
| 23 | + wp_link_pages( array( |
|
| 24 | + 'before' => '<div class="lsx-postnav-wrapper"><div class="lsx-postnav">', |
|
| 25 | + 'after' => '</div></div>', |
|
| 26 | + 'link_before' => '<span>', |
|
| 27 | + 'link_after' => '</span>', |
|
| 28 | + ) ); |
|
| 29 | + ?> |
|
| 30 | 30 | </div><!-- .entry-content --> |
| 31 | 31 | |
| 32 | 32 | <?php lsx_entry_bottom(); ?> |
@@ -6,12 +6,12 @@ discard block |
||
| 6 | 6 | */ |
| 7 | 7 | |
| 8 | 8 | if ( ! defined( 'ABSPATH' ) ) { |
| 9 | - exit; |
|
| 9 | + exit; |
|
| 10 | 10 | } |
| 11 | 11 | global $comment, $stored_comment, $_product, $rating; |
| 12 | 12 | $the_comment = $comment; |
| 13 | 13 | if ( null !== $stored_comment ) { |
| 14 | - $the_comment = $stored_comment; |
|
| 14 | + $the_comment = $stored_comment; |
|
| 15 | 15 | } |
| 16 | 16 | ?> |
| 17 | 17 | <div class="lsx-woocommerce-review-slot"> |
@@ -33,9 +33,9 @@ discard block |
||
| 33 | 33 | |
| 34 | 34 | <p class="lsx-woocommerce-reviewer"> |
| 35 | 35 | <?php |
| 36 | - /* translators: %s: review author */ |
|
| 37 | - echo wp_kses_post( esc_html__( 'by ', 'lsx' ) . get_comment_author( $the_comment->comment_ID ) ); |
|
| 38 | - ?> |
|
| 36 | + /* translators: %s: review author */ |
|
| 37 | + echo wp_kses_post( esc_html__( 'by ', 'lsx' ) . get_comment_author( $the_comment->comment_ID ) ); |
|
| 38 | + ?> |
|
| 39 | 39 | </p> |
| 40 | 40 | |
| 41 | 41 | <div class="lsx-woocommerce-content"> |
@@ -20,9 +20,9 @@ discard block |
||
| 20 | 20 | <?php if ( have_posts() ) : ?> |
| 21 | 21 | |
| 22 | 22 | <?php |
| 23 | - while ( have_posts() ) : |
|
| 24 | - the_post(); |
|
| 25 | - ?> |
|
| 23 | + while ( have_posts() ) : |
|
| 24 | + the_post(); |
|
| 25 | + ?> |
|
| 26 | 26 | |
| 27 | 27 | <?php get_template_part( 'partials/content', 'page' ); ?> |
| 28 | 28 | |
@@ -37,10 +37,10 @@ discard block |
||
| 37 | 37 | <?php lsx_content_after(); ?> |
| 38 | 38 | |
| 39 | 39 | <?php |
| 40 | - if ( comments_open() ) { |
|
| 41 | - comments_template(); |
|
| 42 | - } |
|
| 43 | - ?> |
|
| 40 | + if ( comments_open() ) { |
|
| 41 | + comments_template(); |
|
| 42 | + } |
|
| 43 | + ?> |
|
| 44 | 44 | |
| 45 | 45 | </div><!-- #primary --> |
| 46 | 46 | |
@@ -23,9 +23,9 @@ |
||
| 23 | 23 | <?php if ( have_posts() ) : ?> |
| 24 | 24 | |
| 25 | 25 | <?php |
| 26 | - while ( have_posts() ) : |
|
| 27 | - the_post(); |
|
| 28 | - ?> |
|
| 26 | + while ( have_posts() ) : |
|
| 27 | + the_post(); |
|
| 28 | + ?> |
|
| 29 | 29 | |
| 30 | 30 | <?php lsx_entry_before(); ?> |
| 31 | 31 | |