Webmaster Forum

Go Back   Webmaster Forum > Web Development > Coding Forum

Coding Forum Problems with your code? Discuss coding issues, including JavaScript, PHP & MySQL, HTML & CSS, Flash & ActionScript, and more.


Closed Thread
 
Thread Tools Display Modes
Share |
  #1  
Old 07-07-2016, 02:09 PM
host-two host-two is offline
Banned
 
Join Date: 12-11-14
Location: Bradford, UK
Posts: 50
iTrader: 0 / 0%
Linking Search Form To Woocommerce

Hi im wanting to link a search field to woocommerce if anyone could help i'd be grateful.

The current search form is done and you can see it on the main page at http://inthedrone.co.uk i'll also add the current code thats done below

PHP Code:
<form role="search" method="get" id="searchform.php"
    class="searchform" action="<?php echo esc_urlhome_url'/' ) ); ?>">
    <div>
        <label class="screen-reader-text" for="s"><?php _x'Search for:''label' ); ?></label>
        <input type="text" value="ENTER YOUR UNIQUE CODE" name="s" id="s" />
        <input type="submit" id="searchsubmit"
            value="FIND MY HOUSE" />
    </div>
</form>

Last edited by snakeair; 07-07-2016 at 06:13 PM. Reason: wrapped code
 

Advertisement

Advertisement

  #2  
Old 07-15-2016, 02:53 PM
brogrammer30's Avatar
brogrammer30 brogrammer30 is offline
Junior Member
 
Join Date: 07-12-16
Posts: 32
iTrader: 0 / 0%
Set form action="yourdomainname"
 
Go Back   Webmaster Forum > Web Development > Coding Forum

Closed Thread


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't get my search button to line up with search form? maplenexus Coding Forum 2 01-14-2011 03:33 AM
Help w/changing the Search Form chrisjchrisj Coding Forum 3 11-04-2010 06:14 AM
Linking multiple item selection form with shopping cart Jomama Coding Forum 2 01-31-2008 02:14 PM
Search form edbarton Coding Forum 21 10-30-2003 12:01 PM


V7N Network
Get exposure! V7N I Love Photography V7N SEO Blog V7N Directory


All times are GMT -7. The time now is 11:00 AM.
Powered by vBulletin
Copyright 2000-2014 Jelsoft Enterprises Limited.
Copyright © 2003 - 2018 VIX-WomensForum LLC