Completed
Push — master ( deb440...52cafd )
by Md. Mozahidur
02:21
created
page-template/page-home.php 2 patches
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -1,9 +1,9 @@
 block discarded – undo
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>
Please login to merge, or discard this patch.
Spacing   +14 added lines, -14 removed lines patch added patch discarded remove patch
@@ -7,17 +7,17 @@  discard block
 block discarded – undo
7 7
 ?><!DOCTYPE html>
8 8
 <html <?php language_attributes(); ?>>
9 9
 <head>
10
-	<meta charset="<?php bloginfo( 'charset' ); ?>">
10
+	<meta charset="<?php bloginfo('charset'); ?>">
11 11
 	<meta name="viewport" content="width=device-width, initial-scale=1">
12 12
 	<link rel="profile" href="http://gmpg.org/xfn/11">
13
-	<link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>">
13
+	<link rel="pingback" href="<?php bloginfo('pingback_url'); ?>">
14 14
 
15 15
 	<?php wp_head(); ?>
16 16
 </head>
17 17
 
18 18
 <body <?php body_class(); ?>>
19 19
 	<div id="page" class="site">
20
-		<a class="skip-link screen-reader-text" href="#content"><?php esc_html_e( 'Skip to content', 'lighthouse' ); ?></a>
20
+		<a class="skip-link screen-reader-text" href="#content"><?php esc_html_e('Skip to content', 'lighthouse'); ?></a>
21 21
 
22 22
 		<header id="masthead" class="site-header" role="banner">
23 23
 			<div class="container">
@@ -38,8 +38,8 @@  discard block
 block discarded – undo
38 38
 				        	</div>
39 39
 						</div>
40 40
 						<div class="col-sm-12 col-md-2 col-lg-2 header-center-area">
41
-							<a href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home">
42
-								<img src="<?php echo( get_header_image() ); ?>" alt="<?php echo( get_bloginfo( 'title' ) ); ?>" />
41
+							<a href="<?php echo esc_url(home_url('/')); ?>" rel="home">
42
+								<img src="<?php echo(get_header_image()); ?>" alt="<?php echo(get_bloginfo('title')); ?>" />
43 43
 							</a>
44 44
 
45 45
 							<div class="iv-module live-search">
@@ -52,9 +52,9 @@  discard block
 block discarded – undo
52 52
 											<div class="container">
53 53
 												<div class="row">
54 54
 													<div class="col-md-12">
55
-													 	<form method="get" action="<?php echo esc_url( home_url( '/' ) );?>">
56
-													 		<label for="s"><?php _e('Type &amp; hit enter to search', 'ivan_domain');?></label>
57
-															<input type="search" name="s" id="s" placeholder="<?php echo esc_attr__('Type &amp; hit enter to search', 'lighthouse');?>" />
55
+													 	<form method="get" action="<?php echo esc_url(home_url('/')); ?>">
56
+													 		<label for="s"><?php _e('Type &amp; hit enter to search', 'ivan_domain'); ?></label>
57
+															<input type="search" name="s" id="s" placeholder="<?php echo esc_attr__('Type &amp; hit enter to search', 'lighthouse'); ?>" />
58 58
 															<a class="submit-form" href="#"><i class="fa fa-search"></i></a>
59 59
 															<div class="clearfix"></div>
60 60
 														</form>
@@ -81,9 +81,9 @@  discard block
 block discarded – undo
81 81
 											<div class="container">
82 82
 												<div class="row">
83 83
 													<div class="col-md-12">
84
-													 	<form method="get" action="<?php echo esc_url( home_url( '/' ) );?>">
85
-													 		<label for="s"><?php _e('Type &amp; hit enter', 'ivan_domain');?></label>
86
-															<input type="search" name="s" id="s" placeholder="<?php echo esc_attr__('Type &amp; hit enter', 'lighthouse');?>" />
84
+													 	<form method="get" action="<?php echo esc_url(home_url('/')); ?>">
85
+													 		<label for="s"><?php _e('Type &amp; hit enter', 'ivan_domain'); ?></label>
86
+															<input type="search" name="s" id="s" placeholder="<?php echo esc_attr__('Type &amp; hit enter', 'lighthouse'); ?>" />
87 87
 															<a class="submit-form" href="#"><i class="fa fa-search"></i></a>
88 88
 															<div class="clearfix"></div>
89 89
 														</form>
@@ -112,7 +112,7 @@  discard block
 block discarded – undo
112 112
 			<div class="container">
113 113
 				<div class="row">
114 114
 					<main id="main" class="site-main" role="main">
115
-						<?php while ( have_posts() ) : the_post(); ?>
115
+						<?php while (have_posts()) : the_post(); ?>
116 116
 							<section class="home-content">
117 117
 								<?php the_content(); ?>
118 118
 							</section>
@@ -130,9 +130,9 @@  discard block
 block discarded – undo
130 130
 
131 131
 		<footer id="colophon" class="site-footer" role="contentinfo">
132 132
 			<div class="site-info">
133
-				<a href="<?php echo esc_url( __( 'https://wordpress.org/', 'lighthouse' ) ); ?>"><?php printf( esc_html__( 'Proudly powered by %s', 'lighthouse' ), 'WordPress' ); ?></a>
133
+				<a href="<?php echo esc_url(__('https://wordpress.org/', 'lighthouse')); ?>"><?php printf(esc_html__('Proudly powered by %s', 'lighthouse'), 'WordPress'); ?></a>
134 134
 				<span class="sep"> | </span>
135
-				<?php printf( esc_html__( 'Theme: %1$s by %2$s.', 'lighthouse' ), 'lighthouse', '<a href="http://injectedmotion.com" rel="designer">Injected Motion</a>' ); ?>
135
+				<?php printf(esc_html__('Theme: %1$s by %2$s.', 'lighthouse'), 'lighthouse', '<a href="http://injectedmotion.com" rel="designer">Injected Motion</a>'); ?>
136 136
 			</div><!-- .site-info -->
137 137
 		</footer><!-- #colophon -->
138 138
 	</div><!-- #page -->
Please login to merge, or discard this patch.