Procházet zdrojové kódy

Merge pull request #117 from manne/master

some l10n/404 page changes
Eddie Machado před 13 roky
rodič
revize
8440c49610
2 změnil soubory, kde provedl 8 přidání a 2 odebrání
  1. 7 1
      404.php
  2. 1 1
      functions.php

+ 7 - 1
404.php

@@ -16,9 +16,15 @@
 					
 							<section class="post-content">
 							
-								<p><?php _e("The article you were looking for was not found, try looking for it again!", "bonestheme"); ?></p>
+								<p><?php _e("The article you were looking for was not found, but maybe try looking again!", "bonestheme"); ?></p>
 					
 							</section> <!-- end article section -->
+
+							<section class="search">
+				
+							    <p><?php get_search_form(); ?></p>
+				
+							</section> <!-- end search section -->
 						
 							<footer class="article-header">
 							

+ 1 - 1
functions.php

@@ -149,7 +149,7 @@ function bones_comments($comment, $args, $depth) {
 function bones_wpsearch($form) {
     $form = '<form role="search" method="get" id="searchform" action="' . home_url( '/' ) . '" >
     <label class="screen-reader-text" for="s">' . __('Search for:', 'bonestheme') . '</label>
-    <input type="text" value="' . get_search_query() . '" name="s" id="s" placeholder="Search the Site..." />
+    <input type="text" value="' . get_search_query() . '" name="s" id="s" placeholder="'.esc_attr__('Search the Site...','bonestheme').'" />
     <input type="submit" id="searchsubmit" value="'. esc_attr__('Search') .'" />
     </form>';
     return $form;