@@ -1,9 +1,9 @@ discard block |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * Template Name: Service |
|
4 | - * |
|
5 | - * @package Lighthouse |
|
6 | - */ |
|
3 | + * Template Name: Service |
|
4 | + * |
|
5 | + * @package Lighthouse |
|
6 | + */ |
|
7 | 7 | get_header(); ?> |
8 | 8 | |
9 | 9 | <?php while ( have_posts() ) : the_post(); |
@@ -37,9 +37,9 @@ discard block |
||
37 | 37 | <li class="blog-item shop-latest-item"> |
38 | 38 | <a href="<?php the_permalink() ?>" title="<?php the_title_attribute() ?>"> |
39 | 39 | <?php |
40 | - $thumb = wp_get_attachment_image_src( get_post_thumbnail_id(), 'blog-listing'); |
|
41 | - $url = $thumb[0]; |
|
42 | - ?> |
|
40 | + $thumb = wp_get_attachment_image_src( get_post_thumbnail_id(), 'blog-listing'); |
|
41 | + $url = $thumb[0]; |
|
42 | + ?> |
|
43 | 43 | <div class="thumbnail blog-item-img" style="background-image:url('<?php echo $url; ?>'); background-color:<?php the_field('post_background_color'); ?>"> |
44 | 44 | <img class="img-responsive" src="<?php echo $url; ?>"> |
45 | 45 | </div> |
@@ -57,9 +57,9 @@ discard block |
||
57 | 57 | <li class="blog-item shop-latest-item"> |
58 | 58 | <a href="<?php the_permalink() ?>" title="<?php the_title_attribute() ?>"> |
59 | 59 | <?php |
60 | - $thumb = wp_get_attachment_image_src( get_post_thumbnail_id(), 'blog-listing'); |
|
61 | - $url = $thumb[0]; |
|
62 | - ?> |
|
60 | + $thumb = wp_get_attachment_image_src( get_post_thumbnail_id(), 'blog-listing'); |
|
61 | + $url = $thumb[0]; |
|
62 | + ?> |
|
63 | 63 | <div class="thumbnail blog-item-img" style="background-image:url('<?php echo $url; ?>'); background-color:<?php the_field('post_background_color'); ?>"> |
64 | 64 | <img class="img-responsive" src="<?php echo $url; ?>"> |
65 | 65 | </div> |
@@ -1,9 +1,9 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * Template Name: Divisions |
|
4 | - * |
|
5 | - * @package Lighthouse |
|
6 | - */ |
|
3 | + * Template Name: Divisions |
|
4 | + * |
|
5 | + * @package Lighthouse |
|
6 | + */ |
|
7 | 7 | get_header(); ?> |
8 | 8 | |
9 | 9 | <?php while ( have_posts() ) : the_post(); |
@@ -1,9 +1,9 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * Template Name: Home |
|
4 | - * |
|
5 | - * @package Lighthouse |
|
6 | - */ |
|
3 | + * Template Name: Home |
|
4 | + * |
|
5 | + * @package Lighthouse |
|
6 | + */ |
|
7 | 7 | ?><!DOCTYPE html> |
8 | 8 | <html <?php language_attributes(); ?>> |
9 | 9 | <head> |
@@ -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 |
@@ -1,11 +1,11 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * Template part for displaying results in search pages. |
|
4 | - * |
|
5 | - * @link https://codex.wordpress.org/Template_Hierarchy |
|
6 | - * |
|
7 | - * @package Lighthouse |
|
8 | - */ |
|
3 | + * Template part for displaying results in search pages. |
|
4 | + * |
|
5 | + * @link https://codex.wordpress.org/Template_Hierarchy |
|
6 | + * |
|
7 | + * @package Lighthouse |
|
8 | + */ |
|
9 | 9 | |
10 | 10 | ?> |
11 | 11 |
@@ -1,9 +1,9 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * Lighthouse Theme Customizer. |
|
4 | - * |
|
5 | - * @package Lighthouse |
|
6 | - */ |
|
3 | + * Lighthouse Theme Customizer. |
|
4 | + * |
|
5 | + * @package Lighthouse |
|
6 | + */ |
|
7 | 7 | |
8 | 8 | /** |
9 | 9 | * Add postMessage support for site title and description for the Theme Customizer. |
@@ -1,11 +1,11 @@ discard block |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * Jetpack Compatibility File. |
|
4 | - * |
|
5 | - * @link https://jetpack.me/ |
|
6 | - * |
|
7 | - * @package Lighthouse |
|
8 | - */ |
|
3 | + * Jetpack Compatibility File. |
|
4 | + * |
|
5 | + * @link https://jetpack.me/ |
|
6 | + * |
|
7 | + * @package Lighthouse |
|
8 | + */ |
|
9 | 9 | |
10 | 10 | /** |
11 | 11 | * Jetpack setup function. |
@@ -33,9 +33,9 @@ discard block |
||
33 | 33 | while ( have_posts() ) { |
34 | 34 | the_post(); |
35 | 35 | if ( is_search() ) : |
36 | - get_template_part( 'template-parts/content', 'search' ); |
|
36 | + get_template_part( 'template-parts/content', 'search' ); |
|
37 | 37 | else : |
38 | - get_template_part( 'template-parts/content', get_post_format() ); |
|
38 | + get_template_part( 'template-parts/content', get_post_format() ); |
|
39 | 39 | endif; |
40 | 40 | } |
41 | 41 | } |
@@ -1,19 +1,19 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * Sample implementation of the Custom Header feature. |
|
4 | - * |
|
5 | - * You can add an optional custom header image to header.php like so ... |
|
6 | - * |
|
3 | + * Sample implementation of the Custom Header feature. |
|
4 | + * |
|
5 | + * You can add an optional custom header image to header.php like so ... |
|
6 | + * |
|
7 | 7 | <?php if ( get_header_image() ) : ?> |
8 | 8 | <a href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home"> |
9 | 9 | <img src="<?php header_image(); ?>" width="<?php echo esc_attr( get_custom_header()->width ); ?>" height="<?php echo esc_attr( get_custom_header()->height ); ?>" alt=""> |
10 | 10 | </a> |
11 | 11 | <?php endif; // End header image check. ?> |
12 | - * |
|
13 | - * @link https://developer.wordpress.org/themes/functionality/custom-headers/ |
|
14 | - * |
|
15 | - * @package Lighthouse |
|
16 | - */ |
|
12 | + * |
|
13 | + * @link https://developer.wordpress.org/themes/functionality/custom-headers/ |
|
14 | + * |
|
15 | + * @package Lighthouse |
|
16 | + */ |
|
17 | 17 | |
18 | 18 | /** |
19 | 19 | * Set up the WordPress core custom header feature. |
@@ -1,11 +1,11 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * Custom functions that act independently of the theme templates. |
|
4 | - * |
|
5 | - * Eventually, some of the functionality here could be replaced by core features. |
|
6 | - * |
|
7 | - * @package Lighthouse |
|
8 | - */ |
|
3 | + * Custom functions that act independently of the theme templates. |
|
4 | + * |
|
5 | + * Eventually, some of the functionality here could be replaced by core features. |
|
6 | + * |
|
7 | + * @package Lighthouse |
|
8 | + */ |
|
9 | 9 | |
10 | 10 | /** |
11 | 11 | * Adds custom classes to the array of body classes. |