View Single Post
  #1  
Old August 9th, 2013, 11:15 PM
tcsar757 tcsar757 is offline
 
Join Date: Dec 2010
Posts: 47
Default simple search question

Store ID:15447

Do you see any way i can add the datafeedr search to work with this code so searches datafeedr store? Thanks and sorry if i am asking too much.


function custom_searchform(){

$placeholder = __( 'Search' , 'ubermenu' );

$form = '<form class="ubersearch-v2" role="search" method="get" id="searchform-custom" action="' . esc_url( home_url( '/' ) ) . '" >
<div class="ubersearch"><label class="screen-reader-text" for="s">' . __( 'Search for:' , 'ubermenu' ) . '</label>
<input type="text" value="' . get_search_query() . '" name="s" id="s" placeholder="'. $placeholder .'" />
<input type="submit" id="searchsubmit" value="'. __( 'Go' , 'ubermenu' ) .'" />
</div>
</form>';

return $form;
}
add_shortcode('custom-search', 'custom_searchform');