Page 1 of 2 12 LastLast
Results 1 to 10 of 13

Thread: search option to remove 'Near' and only use 'What'

  1. #1
    Thread Starter
    Expired Customer jc10002's Avatar
    Join Date
    Oct 2013
    Location
    United States
    Posts
    12
    Thanks
    0
    Thanked 0 Times in 0 Posts

    search option to remove 'Near' and only use 'What'

    Hi there,

    I am looking to customize the top header search form to achieve the following...

    I would like to have just one search box area where the user can type in a zipcode, city, area, or neighborhood and only the profiles that list that keyword would be returned.

    I already successfully set up custom fields for the profiles like zipcode, but I can't seem to make this work correctly.

    I have the 'Default Standard Location Search Radius' left empty and my current code is this:

    Code:
    	      <div id="main-search">
    				<div class="search-for">
    					<label for="search-text">
    						<span class="search-title"><?php _e( 'Search For:<br />', APP_TD ); ?></span>
    						<?php do_action('va_search_for_above'); ?>
    					</label>
    				<div class="input-contX h39">
    						<div class="left h39"></div>
    						<div class="mid h39">
    	
    					</div>
    						<div class="right h39"></div>
    								</div>
    							</div>
    	
    							<div class="search-location">
    								<label for="search-location">
    	<span class="search-title"><?php _e( 'Near ', APP_TD ); ?></span><span class="search-help"><?php _e( '(zipcode, city, town, etc.)', APP_TD ); ?></span>
    								</label>
    								<div class="input-cont h39">
    									<div class="left h39"></div>
    									<div class="mid h39">
    			<input type="text" name="location" id="search-location" class="text" value="<?php va_show_search_query_var( 'location' ); ?>" />
    									</div>
    									<div class="right h39"></div>
    								</div>
    						</div>
    You can see that the code removes the "what" box and keeps the location but I'm trying to get the search box to be relevant for ANY keyword found within a listing to appear, regardless of location.

    Thanks for any insight!

    -Josh

  2. #2
    Thread Starter
    Expired Customer jc10002's Avatar
    Join Date
    Oct 2013
    Location
    United States
    Posts
    12
    Thanks
    0
    Thanked 0 Times in 0 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

  3. #3
    Thread Starter
    Expired Customer jc10002's Avatar
    Join Date
    Oct 2013
    Location
    United States
    Posts
    12
    Thanks
    0
    Thanked 0 Times in 0 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

  4. #4
    dimitris's Avatar
    Join Date
    Oct 2011
    Location
    Earth
    Posts
    20,617
    Thanks
    222
    Thanked 1,873 Times in 1,770 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

  5. #5
    Thread Starter
    Expired Customer jc10002's Avatar
    Join Date
    Oct 2013
    Location
    United States
    Posts
    12
    Thanks
    0
    Thanked 0 Times in 0 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

  6. #6
    dimitris's Avatar
    Join Date
    Oct 2011
    Location
    Earth
    Posts
    20,617
    Thanks
    222
    Thanked 1,873 Times in 1,770 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

  7. #7
    Thread Starter
    Expired Customer jc10002's Avatar
    Join Date
    Oct 2013
    Location
    United States
    Posts
    12
    Thanks
    0
    Thanked 0 Times in 0 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

  8. #8
    dimitris's Avatar
    Join Date
    Oct 2011
    Location
    Earth
    Posts
    20,617
    Thanks
    222
    Thanked 1,873 Times in 1,770 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

  9. #9
    Thread Starter
    Expired Customer jc10002's Avatar
    Join Date
    Oct 2013
    Location
    United States
    Posts
    12
    Thanks
    0
    Thanked 0 Times in 0 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

  10. #10
    dimitris's Avatar
    Join Date
    Oct 2011
    Location
    Earth
    Posts
    20,617
    Thanks
    222
    Thanked 1,873 Times in 1,770 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

Page 1 of 2 12 LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Location search option near regular search bar!
    By mkjska in forum Ultra Classifieds
    Replies: 3
    Last Post: February 8th, 2014, 08:05 AM
  2. [SOLVED] jobroller Desired salary remove and search by country,state and city option
    By persie in forum Help Using JobRoller
    Replies: 5
    Last Post: November 11th, 2013, 09:13 AM
  3. remove busiiness option from search box
    By desdichata in forum Vantage General Discussion (Legacy)
    Replies: 2
    Last Post: August 15th, 2013, 10:40 AM
  4. how to remove "highest rating" option in sidebar Refine Search
    By starrlightmedia in forum Vantage General Discussion (Legacy)
    Replies: 8
    Last Post: January 21st, 2013, 06:55 PM
  5. How to remove "Highest Rating" option in Refine Search / Sort
    By starrlightmedia in forum Vantage General Discussion (Legacy)
    Replies: 3
    Last Post: September 9th, 2012, 03:59 PM