Search only by distance

This topic contains 3 replies, has 3 voices, and was last updated by  Dan Leach 9 years, 8 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket

Tagged: 

  • Author
    Posts
  • #32814

    Dan Leach
    Expired Member
    Post count: 10

    In my directory users will only be looking for one type of listing therefore I don’t want them to enter any keywords in the search, only their location.

    Currently I solve this by disabling the “s” input field and changing it’s value to a keyword that I make sure is a tag in all my listings.

    This works but I was wondering if there was a better way of achieving the desired result.

    #32816

    Simone
    Expired Member
    Post count: 3515

    Hi Dan, you can achieve this by adding the following code in style.css inside your child theme

    
    
    input.search_text {
    display:none;
    }
    #32900

    Paolo
    Site Admin
    Post count: 31206

    Hi,

    I would do the same, either hide it with css or if you are already modifying the widget code make it invisible and add your default tag…

    Let us know if we can set this as resolved.

    Thx

    #32911

    Dan Leach
    Expired Member
    Post count: 10

    Great, thanks guys. Resolved.

Viewing 4 posts - 1 through 4 (of 4 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
20% Discount Offer
Hurry! Get your 20% discount before it expires. Get 20% Discount