Completed
Push — master ( db5968...4ef8d6 )
by SILENT
06:07
created
search.php 2 patches
Spacing   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -11,35 +11,35 @@
 block discarded – undo
11 11
 	<section id="primary"
12 12
 	<main id="content" role="main">
13 13
 
14
-		<?php if ( have_posts() ) : ?>
14
+		<?php if (have_posts()) : ?>
15 15
 
16 16
 			<header class="page-header">
17
-				<h1 class="page-title"><?php printf( esc_html__( 'Search Results for: %s', 'strip' ), '<span>' . get_search_query() . '</span>' ); ?></h1>
17
+				<h1 class="page-title"><?php printf(esc_html__('Search Results for: %s', 'strip'), '<span>' . get_search_query() . '</span>'); ?></h1>
18 18
 			</header><!-- .page-header -->
19 19
 
20 20
 			<?php /* Start the Loop */ ?>
21
-			<?php while ( have_posts() ) :
21
+			<?php while (have_posts()) :
22 22
 				the_post();
23 23
 
24
-				get_template_part( 'content', get_post_format() );
24
+				get_template_part('content', get_post_format());
25 25
 
26 26
 			endwhile;
27 27
 
28
-		strip_content_nav( 'nav-below' );
28
+		strip_content_nav('nav-below');
29 29
 
30 30
 		else : ?>
31 31
 
32 32
 <article id="post-0" class="no-results">
33 33
 	<header class="page-header">
34
-		<h1 class="page-title"><?php esc_html_e( 'Nothing Found', 'strip' ); ?></h1>
34
+		<h1 class="page-title"><?php esc_html_e('Nothing Found', 'strip'); ?></h1>
35 35
 	</header><!-- .page-header -->
36 36
 <div class="entry-content">
37
-			<p> <?php esc_html_e( 'Bummer, I cannot find what you are looking for.
38
-				Would you like to search in the', 'strip' ); ?>
37
+			<p> <?php esc_html_e('Bummer, I cannot find what you are looking for.
38
+				Would you like to search in the', 'strip'); ?>
39 39
 
40
-			<a href="<?php echo esc_url( get_post_type_archive_link( 'comic' ) ); ?>">Comics Archive</a>? Great stuff there.</p>
40
+			<a href="<?php echo esc_url(get_post_type_archive_link('comic')); ?>">Comics Archive</a>? Great stuff there.</p>
41 41
 
42
-			<p><?php esc_html_e( 'Or do you prefer trying another search with different keywords?', 'strip' ); ?></p>
42
+			<p><?php esc_html_e('Or do you prefer trying another search with different keywords?', 'strip'); ?></p>
43 43
 
44 44
 			<?php get_search_form(); ?>
45 45
 
Please login to merge, or discard this patch.
Braces   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -27,11 +27,14 @@
 block discarded – undo
27 27
 
28 28
 		strip_content_nav( 'nav-below' );
29 29
 
30
-		else : ?>
30
+		else {
31
+			: ?>
31 32
 
32 33
 <article id="post-0" class="no-results">
33 34
 	<header class="page-header">
34
-		<h1 class="page-title"><?php esc_html_e( 'Nothing Found', 'strip' ); ?></h1>
35
+		<h1 class="page-title"><?php esc_html_e( 'Nothing Found', 'strip' );
36
+		}
37
+		?></h1>
35 38
 	</header><!-- .page-header -->
36 39
 <div class="entry-content">
37 40
 			<p> <?php esc_html_e( 'Bummer, I cannot find what you are looking for.
Please login to merge, or discard this patch.