@@ -1,11 +1,11 @@ discard block |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * The template for displaying all single posts. |
|
4 | - * |
|
5 | - * @link https://developer.wordpress.org/themes/basics/template-hierarchy/#single-post |
|
6 | - * |
|
7 | - * @package Lighthouse |
|
8 | - */ |
|
3 | + * The template for displaying all single posts. |
|
4 | + * |
|
5 | + * @link https://developer.wordpress.org/themes/basics/template-hierarchy/#single-post |
|
6 | + * |
|
7 | + * @package Lighthouse |
|
8 | + */ |
|
9 | 9 | |
10 | 10 | get_header(); ?> |
11 | 11 | |
@@ -55,7 +55,7 @@ discard block |
||
55 | 55 | <?php |
56 | 56 | $postslist = get_posts('numberposts=99&order=DESC&orderby=date'); |
57 | 57 | foreach ($postslist as $post) : |
58 | - setup_postdata($post); |
|
58 | + setup_postdata($post); |
|
59 | 59 | ?> |
60 | 60 | <div class="col-xs-12"> |
61 | 61 | <div class="entry"> |
@@ -1,11 +1,11 @@ discard block |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * Lighthouse functions and definitions. |
|
4 | - * |
|
5 | - * @link https://developer.wordpress.org/themes/basics/theme-functions/ |
|
6 | - * |
|
7 | - * @package Lighthouse |
|
8 | - */ |
|
3 | + * Lighthouse functions and definitions. |
|
4 | + * |
|
5 | + * @link https://developer.wordpress.org/themes/basics/theme-functions/ |
|
6 | + * |
|
7 | + * @package Lighthouse |
|
8 | + */ |
|
9 | 9 | |
10 | 10 | if ( ! function_exists( 'lighthouse_setup' ) ) : |
11 | 11 | /** |
@@ -178,7 +178,7 @@ discard block |
||
178 | 178 | * Read More button in excerpt |
179 | 179 | */ |
180 | 180 | function new_excerpt_more( $more ) { |
181 | - return ' '; |
|
181 | + return ' '; |
|
182 | 182 | } |
183 | 183 | add_filter( 'excerpt_more', 'new_excerpt_more' ); |
184 | 184 | |
@@ -186,7 +186,7 @@ discard block |
||
186 | 186 | * Custome Lenght of excerpt |
187 | 187 | */ |
188 | 188 | function custom_excerpt_length( $length ) { |
189 | - return 18; |
|
189 | + return 18; |
|
190 | 190 | } |
191 | 191 | add_filter( 'excerpt_length', 'custom_excerpt_length', 999 ); |
192 | 192 | |
@@ -230,7 +230,7 @@ discard block |
||
230 | 230 | echo '</div></div>'; |
231 | 231 | |
232 | 232 | endwhile; |
233 | - wp_reset_postdata(); |
|
233 | + wp_reset_postdata(); |
|
234 | 234 | endif; |
235 | 235 | |
236 | 236 | echo '</div></div>'; |