Advertisement
littlered

search & login

Mar 12th, 2011
106
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.60 KB | None | 0 0
  1. <?php
  2.  $searchquery = wp_specialchars(get_search_query(),1);
  3.  if (!is_search() || (is_search() && have_posts() && ($searchquery && $searchquery!=__("Search","mystique")))):
  4.   mystique_search_form();
  5.  else: ?>
  6.   <p class="aligncenter">
  7.   <?php
  8.    if(($searchquery) && ($searchquery!=__('Search',"mystique"))):
  9.     printf(__("You have searched the archives for %s","mystique"), '<span class="altText"><strong>'.wp_specialchars(get_search_query(),1).'</strong></span>');
  10.    else:
  11.     _e("Type a valid search term...","mystique");
  12.    endif;
  13.  
  14.   ?>
  15.   </p>
  16.  
  17. <?php endif; ?>
  18. <?php rh_hype_lilo();?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement