@@ -1,11 +1,11 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * Template part for displaying posts. |
|
| 4 | - * |
|
| 5 | - * @link https://codex.wordpress.org/Template_Hierarchy |
|
| 6 | - * |
|
| 7 | - * @package Lighthouse |
|
| 8 | - */ |
|
| 3 | + * Template part for displaying posts. |
|
| 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 | - * 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 | |
@@ -1,11 +1,11 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * The template for displaying 404 pages (not found). |
|
| 4 | - * |
|
| 5 | - * @link https://codex.wordpress.org/Creating_an_Error_404_Page |
|
| 6 | - * |
|
| 7 | - * @package Lighthouse |
|
| 8 | - */ |
|
| 3 | + * The template for displaying 404 pages (not found). |
|
| 4 | + * |
|
| 5 | + * @link https://codex.wordpress.org/Creating_an_Error_404_Page |
|
| 6 | + * |
|
| 7 | + * @package Lighthouse |
|
| 8 | + */ |
|
| 9 | 9 | |
| 10 | 10 | get_header(); ?> |
| 11 | 11 | |
@@ -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,13 +1,13 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * The header for our theme. |
|
| 4 | - * |
|
| 5 | - * This is the template that displays all of the <head> section and everything up until <div id="content"> |
|
| 6 | - * |
|
| 7 | - * @link https://developer.wordpress.org/themes/basics/template-files/#template-partials |
|
| 8 | - * |
|
| 9 | - * @package Lighthouse |
|
| 10 | - */ |
|
| 3 | + * The header for our theme. |
|
| 4 | + * |
|
| 5 | + * This is the template that displays all of the <head> section and everything up until <div id="content"> |
|
| 6 | + * |
|
| 7 | + * @link https://developer.wordpress.org/themes/basics/template-files/#template-partials |
|
| 8 | + * |
|
| 9 | + * @package Lighthouse |
|
| 10 | + */ |
|
| 11 | 11 | |
| 12 | 12 | ?><!DOCTYPE html> |
| 13 | 13 | <html <?php language_attributes(); ?>> |
@@ -1,11 +1,11 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * Template part for displaying page content in page.php. |
|
| 4 | - * |
|
| 5 | - * @link https://codex.wordpress.org/Template_Hierarchy |
|
| 6 | - * |
|
| 7 | - * @package Lighthouse |
|
| 8 | - */ |
|
| 3 | + * Template part for displaying page content in page.php. |
|
| 4 | + * |
|
| 5 | + * @link https://codex.wordpress.org/Template_Hierarchy |
|
| 6 | + * |
|
| 7 | + * @package Lighthouse |
|
| 8 | + */ |
|
| 9 | 9 | |
| 10 | 10 | ?> |
| 11 | 11 | |
@@ -1,16 +1,16 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * The template for displaying all pages. |
|
| 4 | - * |
|
| 5 | - * This is the template that displays all pages by default. |
|
| 6 | - * Please note that this is the WordPress construct of pages |
|
| 7 | - * and that other 'pages' on your WordPress site may use a |
|
| 8 | - * different template. |
|
| 9 | - * |
|
| 10 | - * @link https://codex.wordpress.org/Template_Hierarchy |
|
| 11 | - * |
|
| 12 | - * @package Lighthouse |
|
| 13 | - */ |
|
| 3 | + * The template for displaying all pages. |
|
| 4 | + * |
|
| 5 | + * This is the template that displays all pages by default. |
|
| 6 | + * Please note that this is the WordPress construct of pages |
|
| 7 | + * and that other 'pages' on your WordPress site may use a |
|
| 8 | + * different template. |
|
| 9 | + * |
|
| 10 | + * @link https://codex.wordpress.org/Template_Hierarchy |
|
| 11 | + * |
|
| 12 | + * @package Lighthouse |
|
| 13 | + */ |
|
| 14 | 14 | |
| 15 | 15 | get_header(); ?> |
| 16 | 16 | |
@@ -1,9 +1,9 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * Template Name: Contact |
|
| 4 | - * |
|
| 5 | - * @package Lighthouse |
|
| 6 | - */ |
|
| 3 | + * Template Name: Contact |
|
| 4 | + * |
|
| 5 | + * @package Lighthouse |
|
| 6 | + */ |
|
| 7 | 7 | get_header(); ?> |
| 8 | 8 | |
| 9 | 9 | <?php while ( have_posts() ) : the_post(); ?> |
@@ -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> |