Browse Source

Tidying up whitespace

Jordan 4 years ago
parent
commit
fd64a17ae0
1 changed files with 11 additions and 15 deletions
  1. 11 15
      varia/template-parts/content/content-none.php

+ 11 - 15
varia/template-parts/content/content-none.php

@@ -18,27 +18,23 @@
 
 
 	<div class="page-content responsive-max-width">
 	<div class="page-content responsive-max-width">
 		<?php
 		<?php
-		if ( is_home() && current_user_can( 'publish_posts' ) ) : ?>
+		if ( is_home() && current_user_can( 'publish_posts' ) ) :
+			?>
 
 
-<p>
+			<p>
 			<?php _e( "Your site is set to show the the most recent posts on your homepage - but you don't have any Posts published.", 'seedlet' ); ?></p>
 			<?php _e( "Your site is set to show the the most recent posts on your homepage - but you don't have any Posts published.", 'seedlet' ); ?></p>
 
 
 			<p>
 			<p>
-				<a href="<?php  echo esc_url( admin_url( 'edit.php' ) ); ?>" class="button">
-			<?php /* translators: 1: link to WP admin new post page. */
-			 _e( 'Add or publish Posts', 'seedlet' ); ?>
+				<a href="<?php echo esc_url( admin_url( 'edit.php' ) ); ?>" class="button">
+					<?php
+					/* translators: 1: link to WP admin new post page. */
+					_e( 'Add or publish Posts', 'seedlet' );
+					?>
 				</a>
 				</a>
-			</p>		)
-					)					
-				) ,
-				esc_url( admin_url( 'edit.php' ) )
-			);
-			/* translators: 1: link to WP admin new post page. 2: class for anchor */
-			 _e( 'Add or publish Posts', 'seedlet' ); ?>
-
-			</a></p>
+			</p>	
 			
 			
-		<?php elseif ( is_search() ) :
+			<?php
+		elseif ( is_search() ) :
 			?>
 			?>
 
 
 			<p><?php _e( 'Sorry, but nothing matched your search terms. Please try again with some different keywords.', 'varia' ); ?></p>
 			<p><?php _e( 'Sorry, but nothing matched your search terms. Please try again with some different keywords.', 'varia' ); ?></p>