SHARE
TWEET

Untitled

a guest Feb 17th, 2019 46 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <form id="searchform" action="http://localhost:8888/ltc" method="get">
  2.         <input class="inlineSearch" type="text" name="s" value="Enter a keyword" onblur="if (this.value == '') {this.value = 'Enter a keyword';}" onfocus="if (this.value == 'Enter a keyword') {this.value = '';}" />
  3.         <input class="inlineSubmit" id="searchsubmit" type="submit" alt="Search" value="Search" />
  4.     </form>
  5.    
  6. <?php if ( have_posts() ) : ?>
  7.             <h1><?php printf( __( 'Search Results for: %s', 'twentyten' ), '' . get_search_query() . '' ); ?></h1>
  8.             <?php
  9.             /* Run the loop for the search to output the results.
  10.              * If you want to overload this in a child theme then include a file
  11.              * called loop-search.php and that will be used instead.
  12.              */
  13.              get_template_part( 'loop', 'search' );
  14.             ?>
  15.    
  16. <form id="searchform" action="http://localhost:8888/ltc" method="get">
  17.         <input class="inlineSearch" type="text" name="s" value="Enter a keyword" onblur="if (this.value == '') {this.value = 'Enter a keyword';}" onfocus="if (this.value == 'Enter a keyword') {this.value = '';}" />
  18.         <input type="hidden" name="post_type" value="events" />
  19.         <input class="inlineSubmit" id="searchsubmit" type="submit" alt="Search" value="Search" />
  20. </form>
  21.    
  22. <input type="hidden" name="post_type" value="blogpst" />
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top