@@ -1,9 +1,9 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * Template Name: Template with Visual Editor |
|
4 | - * |
|
5 | - * @package Lighthouse |
|
6 | - */ |
|
3 | + * Template Name: Template with Visual Editor |
|
4 | + * |
|
5 | + * @package Lighthouse |
|
6 | + */ |
|
7 | 7 | get_header(); ?> |
8 | 8 | |
9 | 9 | <div class="container"> |
@@ -1,11 +1,11 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * The template for displaying search results pages. |
|
4 | - * |
|
5 | - * @link https://developer.wordpress.org/themes/basics/template-hierarchy/#search-result |
|
6 | - * |
|
7 | - * @package Lighthouse |
|
8 | - */ |
|
3 | + * The template for displaying search results pages. |
|
4 | + * |
|
5 | + * @link https://developer.wordpress.org/themes/basics/template-hierarchy/#search-result |
|
6 | + * |
|
7 | + * @package Lighthouse |
|
8 | + */ |
|
9 | 9 | |
10 | 10 | get_header(); ?> |
11 | 11 |
@@ -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,9 +1,9 @@ discard block |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * Template Name: Blog |
|
4 | - * |
|
5 | - * @package Lighthouse |
|
6 | - */ |
|
3 | + * Template Name: Blog |
|
4 | + * |
|
5 | + * @package Lighthouse |
|
6 | + */ |
|
7 | 7 | get_header(); ?> |
8 | 8 | <div class="title-wrapper"> |
9 | 9 | <div class="container blog-wrapper"> |
@@ -67,7 +67,7 @@ discard block |
||
67 | 67 | <div class="row"> |
68 | 68 | <div class="col-xs-12"> |
69 | 69 | <?php if (function_exists("pagination")) { |
70 | - pagination($loop->max_num_pages); |
|
70 | + pagination($loop->max_num_pages); |
|
71 | 71 | } ?> |
72 | 72 | </div> |
73 | 73 | </div> |
@@ -1,11 +1,11 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * The sidebar containing the main widget area. |
|
4 | - * |
|
5 | - * @link https://developer.wordpress.org/themes/basics/template-files/#template-partials |
|
6 | - * |
|
7 | - * @package Lighthouse |
|
8 | - */ |
|
3 | + * The sidebar containing the main widget area. |
|
4 | + * |
|
5 | + * @link https://developer.wordpress.org/themes/basics/template-files/#template-partials |
|
6 | + * |
|
7 | + * @package Lighthouse |
|
8 | + */ |
|
9 | 9 | |
10 | 10 | if ( ! is_active_sidebar( 'sidebar-1' ) ) { |
11 | 11 | return; |
@@ -1,11 +1,11 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * Template part for displaying a message that posts cannot be found. |
|
4 | - * |
|
5 | - * @link https://codex.wordpress.org/Template_Hierarchy |
|
6 | - * |
|
7 | - * @package Lighthouse |
|
8 | - */ |
|
3 | + * Template part for displaying a message that posts cannot be found. |
|
4 | + * |
|
5 | + * @link https://codex.wordpress.org/Template_Hierarchy |
|
6 | + * |
|
7 | + * @package Lighthouse |
|
8 | + */ |
|
9 | 9 | |
10 | 10 | ?> |
11 | 11 |
@@ -16,7 +16,7 @@ |
||
16 | 16 | * as indicating support for post thumbnails. |
17 | 17 | */ |
18 | 18 | function lighthouse_setup() { |
19 | - // This theme styles the visual editor to resemble the theme style. |
|
19 | + // This theme styles the visual editor to resemble the theme style. |
|
20 | 20 | $font_url = 'https://fonts.googleapis.com/css?family=Questrial'; |
21 | 21 | add_editor_style( |
22 | 22 | array( |
@@ -1,11 +1,11 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * Custom template tags for this theme. |
|
4 | - * |
|
5 | - * Eventually, some of the functionality here could be replaced by core features. |
|
6 | - * |
|
7 | - * @package Lighthouse |
|
8 | - */ |
|
3 | + * Custom template tags for this theme. |
|
4 | + * |
|
5 | + * Eventually, some of the functionality here could be replaced by core features. |
|
6 | + * |
|
7 | + * @package Lighthouse |
|
8 | + */ |
|
9 | 9 | |
10 | 10 | if ( ! function_exists( 'lighthouse_posted_on' ) ) : |
11 | 11 | /** |
@@ -8,11 +8,11 @@ discard block |
||
8 | 8 | |
9 | 9 | function my_acf_settings_path( $path ) { |
10 | 10 | |
11 | - // update path |
|
12 | - $path = get_stylesheet_directory() . '/includes/acf/'; |
|
11 | + // update path |
|
12 | + $path = get_stylesheet_directory() . '/includes/acf/'; |
|
13 | 13 | |
14 | - // return |
|
15 | - return $path; |
|
14 | + // return |
|
15 | + return $path; |
|
16 | 16 | } |
17 | 17 | |
18 | 18 | // Customize ACF dir |
@@ -20,11 +20,11 @@ discard block |
||
20 | 20 | |
21 | 21 | function my_acf_settings_dir( $dir ) { |
22 | 22 | |
23 | - // update path |
|
24 | - $dir = get_stylesheet_directory_uri() . '/includes/acf/'; |
|
23 | + // update path |
|
24 | + $dir = get_stylesheet_directory_uri() . '/includes/acf/'; |
|
25 | 25 | |
26 | - // return |
|
27 | - return $dir; |
|
26 | + // return |
|
27 | + return $dir; |
|
28 | 28 | } |
29 | 29 | |
30 | 30 | // Save ACF field as JSON |
@@ -32,11 +32,11 @@ discard block |
||
32 | 32 | |
33 | 33 | function my_acf_json_save_point( $path ) { |
34 | 34 | |
35 | - // update path |
|
36 | - $path = get_stylesheet_directory() . '/includes/acf-json'; |
|
35 | + // update path |
|
36 | + $path = get_stylesheet_directory() . '/includes/acf-json'; |
|
37 | 37 | |
38 | - // return |
|
39 | - return $path; |
|
38 | + // return |
|
39 | + return $path; |
|
40 | 40 | } |
41 | 41 | |
42 | 42 | // Load ACF field from JSON |
@@ -44,14 +44,14 @@ discard block |
||
44 | 44 | |
45 | 45 | function my_acf_json_load_point( $paths ) { |
46 | 46 | |
47 | - // remove original path (optional) |
|
48 | - unset($paths[0]); |
|
47 | + // remove original path (optional) |
|
48 | + unset($paths[0]); |
|
49 | 49 | |
50 | - // append path |
|
51 | - $paths[] = get_stylesheet_directory() . '/includes/acf-json'; |
|
50 | + // append path |
|
51 | + $paths[] = get_stylesheet_directory() . '/includes/acf-json'; |
|
52 | 52 | |
53 | - // return |
|
54 | - return $paths; |
|
53 | + // return |
|
54 | + return $paths; |
|
55 | 55 | } |
56 | 56 | |
57 | 57 |