@@ -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,13 +1,13 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * The template for displaying the footer. |
|
4 | - * |
|
5 | - * Contains the closing of the #content div and all content after. |
|
6 | - * |
|
7 | - * @link https://developer.wordpress.org/themes/basics/template-files/#template-partials |
|
8 | - * |
|
9 | - * @package Lighthouse |
|
10 | - */ |
|
3 | + * The template for displaying the footer. |
|
4 | + * |
|
5 | + * Contains the closing of the #content div and all content after. |
|
6 | + * |
|
7 | + * @link https://developer.wordpress.org/themes/basics/template-files/#template-partials |
|
8 | + * |
|
9 | + * @package Lighthouse |
|
10 | + */ |
|
11 | 11 | |
12 | 12 | ?> |
13 | 13 |
@@ -17,10 +17,10 @@ |
||
17 | 17 | <div class="footer-normal"> |
18 | 18 | <div class="container"> |
19 | 19 | <div class="row widget"> |
20 | - <div class="col-sm-6 col-md-3 widget-col widget-col-1"><?php dynamic_sidebar( 'footer_widgets_1' ); ?></div> |
|
21 | - <div class="col-sm-6 col-md-3 widget-col widget-col-2"><?php dynamic_sidebar( 'footer_widgets_2' ); ?></div> |
|
22 | - <div class="col-sm-6 col-md-3 widget-col widget-col-3"><?php dynamic_sidebar( 'footer_widgets_3' ); ?></div> |
|
23 | - <div class="col-sm-6 col-md-3 widget-col widget-col-4"><?php dynamic_sidebar( 'footer_widgets_4' ); ?></div> |
|
20 | + <div class="col-sm-6 col-md-3 widget-col widget-col-1"><?php dynamic_sidebar('footer_widgets_1'); ?></div> |
|
21 | + <div class="col-sm-6 col-md-3 widget-col widget-col-2"><?php dynamic_sidebar('footer_widgets_2'); ?></div> |
|
22 | + <div class="col-sm-6 col-md-3 widget-col widget-col-3"><?php dynamic_sidebar('footer_widgets_3'); ?></div> |
|
23 | + <div class="col-sm-6 col-md-3 widget-col widget-col-4"><?php dynamic_sidebar('footer_widgets_4'); ?></div> |
|
24 | 24 | </div> |
25 | 25 | </div> |
26 | 26 | </div> |
@@ -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 |
@@ -18,12 +18,12 @@ |
||
18 | 18 | <div class="row"> |
19 | 19 | <main id="main" class="site-main" role="main"> |
20 | 20 | <?php |
21 | - while ( have_posts() ) : the_post(); |
|
21 | + while (have_posts()) : the_post(); |
|
22 | 22 | |
23 | - get_template_part( 'template-parts/content', 'page' ); |
|
23 | + get_template_part('template-parts/content', 'page'); |
|
24 | 24 | |
25 | 25 | // If comments are open or we have at least one comment, load up the comment template. |
26 | - if ( comments_open() || get_comments_number() ) : |
|
26 | + if (comments_open() || get_comments_number()) : |
|
27 | 27 | comments_template(); |
28 | 28 | endif; |
29 | 29 |
@@ -12,17 +12,17 @@ discard block |
||
12 | 12 | ?><!DOCTYPE html> |
13 | 13 | <html <?php language_attributes(); ?>> |
14 | 14 | <head> |
15 | - <meta charset="<?php bloginfo( 'charset' ); ?>"> |
|
15 | + <meta charset="<?php bloginfo('charset'); ?>"> |
|
16 | 16 | <meta name="viewport" content="width=device-width, initial-scale=1"> |
17 | 17 | <link rel="profile" href="http://gmpg.org/xfn/11"> |
18 | - <link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>"> |
|
18 | + <link rel="pingback" href="<?php bloginfo('pingback_url'); ?>"> |
|
19 | 19 | |
20 | 20 | <?php wp_head(); ?> |
21 | 21 | </head> |
22 | 22 | |
23 | 23 | <body <?php body_class(); ?>> |
24 | 24 | <div id="page" class="site"> |
25 | - <a class="skip-link screen-reader-text" href="#content"><?php esc_html_e( 'Skip to content', 'lighthouse' ); ?></a> |
|
25 | + <a class="skip-link screen-reader-text" href="#content"><?php esc_html_e('Skip to content', 'lighthouse'); ?></a> |
|
26 | 26 | |
27 | 27 | <header id="masthead" class="site-header panel-top" role="banner"> |
28 | 28 | <div class="container"> |
@@ -43,8 +43,8 @@ discard block |
||
43 | 43 | </div> |
44 | 44 | </div> |
45 | 45 | <div class="col-sm-12 col-md-2 col-lg-2 header-center-area"> |
46 | - <a href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home"> |
|
47 | - <img src="<?php echo( get_header_image() ); ?>" alt="<?php echo( get_bloginfo( 'title' ) ); ?>" /> |
|
46 | + <a href="<?php echo esc_url(home_url('/')); ?>" rel="home"> |
|
47 | + <img src="<?php echo(get_header_image()); ?>" alt="<?php echo(get_bloginfo('title')); ?>" /> |
|
48 | 48 | </a> |
49 | 49 | |
50 | 50 | <div class="iv-module live-search"> |
@@ -57,9 +57,9 @@ discard block |
||
57 | 57 | <div class="container"> |
58 | 58 | <div class="row"> |
59 | 59 | <div class="col-md-12"> |
60 | - <form method="get" action="<?php echo esc_url( home_url( '/' ) );?>"> |
|
61 | - <label for="s"><?php _e('Type & hit enter to search', 'ivan_domain');?></label> |
|
62 | - <input type="search" name="s" id="s" placeholder="<?php echo esc_attr__('Type & hit enter to search', 'lighthouse');?>" /> |
|
60 | + <form method="get" action="<?php echo esc_url(home_url('/')); ?>"> |
|
61 | + <label for="s"><?php _e('Type & hit enter to search', 'ivan_domain'); ?></label> |
|
62 | + <input type="search" name="s" id="s" placeholder="<?php echo esc_attr__('Type & hit enter to search', 'lighthouse'); ?>" /> |
|
63 | 63 | <a class="submit-form" href="#"><i class="fa fa-search"></i></a> |
64 | 64 | <div class="clearfix"></div> |
65 | 65 | </form> |
@@ -86,9 +86,9 @@ discard block |
||
86 | 86 | <div class="container"> |
87 | 87 | <div class="row"> |
88 | 88 | <div class="col-md-12"> |
89 | - <form method="get" action="<?php echo esc_url( home_url( '/' ) );?>"> |
|
90 | - <label for="s"><?php _e('Type & hit enter', 'ivan_domain');?></label> |
|
91 | - <input type="search" name="s" id="s" placeholder="<?php echo esc_attr__('Type & hit enter', 'lighthouse');?>" /> |
|
89 | + <form method="get" action="<?php echo esc_url(home_url('/')); ?>"> |
|
90 | + <label for="s"><?php _e('Type & hit enter', 'ivan_domain'); ?></label> |
|
91 | + <input type="search" name="s" id="s" placeholder="<?php echo esc_attr__('Type & hit enter', 'lighthouse'); ?>" /> |
|
92 | 92 | <a class="submit-form" href="#"><i class="fa fa-search"></i></a> |
93 | 93 | <div class="clearfix"></div> |
94 | 94 | </form> |
@@ -9,7 +9,7 @@ |
||
9 | 9 | <div class="container"> |
10 | 10 | <div class="row"> |
11 | 11 | <main id="main" class="site-main" role="main"> |
12 | - <?php while ( have_posts() ) : the_post(); ?> |
|
12 | + <?php while (have_posts()) : the_post(); ?> |
|
13 | 13 | <section class="home-content"> |
14 | 14 | <?php the_content(); ?> |
15 | 15 | </section> |
@@ -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"> |
@@ -9,7 +9,7 @@ |
||
9 | 9 | <div class="container"> |
10 | 10 | <div class="row"> |
11 | 11 | <main id="main" class="site-main" role="main"> |
12 | - <?php while ( have_posts() ) : the_post(); ?> |
|
12 | + <?php while (have_posts()) : the_post(); ?> |
|
13 | 13 | <section class="home-content"> |
14 | 14 | <?php the_content(); ?> |
15 | 15 | </section> |
@@ -14,14 +14,14 @@ |
||
14 | 14 | <main id="main" class="site-main" role="main"> |
15 | 15 | |
16 | 16 | <?php |
17 | - while ( have_posts() ) : the_post(); |
|
17 | + while (have_posts()) : the_post(); |
|
18 | 18 | |
19 | - get_template_part( 'template-parts/content', get_post_format() ); |
|
19 | + get_template_part('template-parts/content', get_post_format()); |
|
20 | 20 | |
21 | 21 | the_post_navigation(); |
22 | 22 | |
23 | 23 | // If comments are open or we have at least one comment, load up the comment template. |
24 | - if ( comments_open() || get_comments_number() ) : |
|
24 | + if (comments_open() || get_comments_number()) : |
|
25 | 25 | comments_template(); |
26 | 26 | endif; |
27 | 27 |