Completed
Push — master ( e6a05f...cccceb )
by Md. Mozahidur
03:34
created
template-parts/content-none.php 1 patch
Braces   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -26,9 +26,12 @@
 block discarded – undo
26 26
 			<?php
27 27
 				get_search_form();
28 28
 
29
-		else : ?>
29
+		else {
30
+			: ?>
30 31
 
31
-			<p><?php esc_html_e( 'It seems we can&rsquo;t find what you&rsquo;re looking for. Perhaps searching can help.', 'lighthouse' ); ?></p>
32
+			<p><?php esc_html_e( 'It seems we can&rsquo;t find what you&rsquo;re looking for. Perhaps searching can help.', 'lighthouse' );
33
+		}
34
+		?></p>
32 35
 			<?php
33 36
 				get_search_form();
34 37
 
Please login to merge, or discard this patch.
inc/jetpack.php 2 patches
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -34,8 +34,10 @@
 block discarded – undo
34 34
 		the_post();
35 35
 		if ( is_search() ) :
36 36
 		    get_template_part( 'template-parts/content', 'search' );
37
-		else :
37
+		else {
38
+			:
38 39
 		    get_template_part( 'template-parts/content', get_post_format() );
40
+		}
39 41
 		endif;
40 42
 	}
41 43
 }
Please login to merge, or discard this patch.
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -33,9 +33,9 @@
 block discarded – undo
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
 }
Please login to merge, or discard this patch.
inc/custom-header.php 1 patch
Braces   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -63,11 +63,14 @@
 block discarded – undo
63 63
 		}
64 64
 	<?php
65 65
 		// If the user has set a custom color for the text use that.
66
-		else :
66
+		else {
67
+			:
67 68
 	?>
68 69
 		.site-title a,
69 70
 		.site-description {
70
-			color: #<?php echo esc_attr( $header_text_color ); ?>;
71
+			color: #<?php echo esc_attr( $header_text_color );
72
+		}
73
+		?>;
71 74
 		}
72 75
 	<?php endif; ?>
73 76
 	</style>
Please login to merge, or discard this patch.
archive.php 1 patch
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -34,8 +34,10 @@
 block discarded – undo
34 34
 		the_post();
35 35
 		if ( is_search() ) :
36 36
 		    get_template_part( 'template-parts/content', 'search' );
37
-		else :
37
+		else {
38
+			:
38 39
 		    get_template_part( 'template-parts/content', get_post_format() );
40
+		}
39 41
 		endif;
40 42
 	}
41 43
 }
Please login to merge, or discard this patch.
index.php 1 patch
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -34,8 +34,10 @@
 block discarded – undo
34 34
 		the_post();
35 35
 		if ( is_search() ) :
36 36
 		    get_template_part( 'template-parts/content', 'search' );
37
-		else :
37
+		else {
38
+			:
38 39
 		    get_template_part( 'template-parts/content', get_post_format() );
40
+		}
39 41
 		endif;
40 42
 	}
41 43
 }
Please login to merge, or discard this patch.
single.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -68,7 +68,7 @@
 block discarded – undo
68 68
 							<?php
69 69
 							 $postslist = get_posts('numberposts=99&order=DESC&orderby=date');
70 70
 							 foreach ($postslist as $post) :
71
-							    setup_postdata($post);
71
+								setup_postdata($post);
72 72
 							 ?>
73 73
 							 <div class="col-xs-12">
74 74
 							 <div class="entry">
Please login to merge, or discard this patch.
search.php 1 patch
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -57,9 +57,11 @@
 block discarded – undo
57 57
 
58 58
 					the_posts_navigation();
59 59
 
60
-				else :
60
+				else {
61
+					:
61 62
 
62 63
 					get_template_part( 'template-parts/content', 'none' );
64
+				}
63 65
 
64 66
 				endif; ?>
65 67
 
Please login to merge, or discard this patch.
functions.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -16,7 +16,7 @@
 block discarded – undo
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( 
Please login to merge, or discard this patch.
includes/acf-settings.php 1 patch
Indentation   +18 added lines, -18 removed lines patch added patch discarded remove patch
@@ -8,11 +8,11 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 
Please login to merge, or discard this patch.