How to Make Street Address Optional
This topic contains 41 replies, has 7 voices, and was last updated by HelloYoga 9 years, 5 months ago.
We have moved to a support ticketing system and our forums are now closed.
Open Support TicketTagged: address, disable maps, fields, freelancers, location, maps, teachers
-
AuthorPosts
-
November 29, 2014 at 7:53 pm #23052
Is there a way to make the street address optional and just keep the city, state and zip code as required fields?
I have more than one site now that requires this feature because they are service related where listing owners work from home and don’t want to disclose their exact address.
It’s now becoming more obvious that requiring street address is more suitable for displaying places and venues but not for service professionals who work from home.
November 29, 2014 at 9:04 pm #23055They can insert the ciy name twice. In address and city field if they don’t want to disclose their full address. But that filed can’t be made optional.
Thx
November 29, 2014 at 11:21 pm #23063Or anything like “My online business” after you have set the location on the map.
Basically like Paolo says, the address field cannot be empty, but it can contain anything you like AFTER you set the location on the map.February 12, 2015 at 9:00 am #30761I am facing the same problem with home-based services not wanting their location to show on map.
I suppose I could specify a transparent png as an invisible map anchor, but that would require a separate CPT or category for such businesses (not a big deal really).It would be nice however if there could be a way to control the map tab based visibility on custom post type basis (I believe the map tab can only be shown/hidden globally via GD/Design/Detail). A map tab doesn’t make sense for home-based services that don’t want to show their location (there are A LOT of these businesses).
March 11, 2015 at 6:57 pm #33709Hi,
are you going to add option for address field to be optional? Or is there a way to have only city, country and state as required fields? We want to have listings assigned only to cities without exact address.
Thanks,
MichalMarch 11, 2015 at 9:27 pm #33736Hi,
simply input only the city name in the address field.
It will work.
Thanks
March 13, 2015 at 6:50 am #33917Hi Paolo,
Understood. This will do for now as a temporary workaround.
Our directory will have yoga teachers. They are like mobile freelancers. They usually don’t want to list their home address. They may teach in a number of different venues. So, we want to make it mandatory for them to input just the country and state they are based in. Some may choose to also mention the city they are in.
However, we also want them to have the option of specifying an entire pinpoint address if they really want to. For example, they may own their studio and it may be the only place they ever teach.
March 20, 2015 at 10:25 am #34685On second thoughts, this is actually a major usability issue for us. My target market are generally not tech savvy and we have to keep things as simple as possible. Workarounds like this will confuse them.
Our ideal situation for yoga teachers is like the teacher sign up on this site:
http://www.yogatrail.com/listing/addAnd, on the teacher profile, it will only show the country, state and city:
http://www.yogatrail.com/teacher/anton-brandt-875699So, if this is not going to be possible within a few weeks, we’re going to have to find another plugin to implement our teacher directory.
That said, we do appreciate that the plugin is called GEO-Directory – i.e. it focuses on locations.
If you know any other plugins that might be more suitable for our purposes, please let us know.
Best regards,
Dylan RobertsonMarch 20, 2015 at 3:40 pm #34705Hi Dylan,
I’m not 100% sure, but I think this can be done with jQuery. I totally failed at writing the jQuery snippet myself (I’m not that good with jQuery), but I believe it is possible to hide the address and automatically populate it with the name of the city selected.
The snippet shouldn’t be longer than a couple of lines of code.
I’ll ask Stiofan if he can confirm and correct what I did. We will keep you posted.
Thanks
March 20, 2015 at 11:42 pm #34753That sounds great and it would be fantastic if you can integrate such measures into the plugin.
I imagine that the three customers posting in this thread are not the only ones who would like this level of flexibility. However, we respectfully recognize that you guys have a lot on your plate.
In the Feature Requests section, there is a request for “Non-location based Listings (Like websites).” Whilst their requirement is a bit different, perhaps we can merge it with ours so that you can hit two birds with one stone? Or should we regard this as a separate feature?
We were going to add it as a new/separate request, but couldn’t find how:
https://wpgeodirectory.com/support/topic/how-to-add-request/Please kindly advise.
Best regards,
Dylan RobertsonMarch 21, 2015 at 2:03 am #34756Hi Dylan and ManilaBoy, have a look at this article, I have done some testing and it should work, but let us know if things don’t quite work out.
http://docs.wpgeodirectory.com/how-to-use-gd-without-street-addresses/March 21, 2015 at 3:59 am #34759@guust
Thank you very much for your kind and rapid response. Really appreciate the amazing value your team brings for such a low price.What you showed looks ideal. However, it would be great if this could be built into the Geodirectory plugin as selectable options in the admin UI.
We are thinking that we would make two separate directory pages:
1. For location-based listings such as yoga studios. This would work as usual.
2. For yoga teacher listings that can be filtered by country, state and city.
For #2, is there a way to turn off maps completely? Yoga teachers will not want a map pinpoint because it is their home address. Also, we don’t want to confuse site visitors into thinking they can visit the teacher’s home.
Teachers just want to be listed under their Country, State (and sometimes, city). And, we want the site visitors to be able to search for a yoga teacher in their area by filtering listings by country, state and city.
How would you suggest we implement #2 above?
Best regards,
Dylan RobertsonMarch 21, 2015 at 10:19 am #34766Hi Dylan, like it says on that page: “This will apply to all your listings.”
Unless you have some conditional code that knows what CPT the listing is. That might be something Paolo can help with.You can turn maps off using some code, but again, you only want it for one CPT only, which needs conditional coding.
March 21, 2015 at 11:09 am #34769Ok, thank you very much for clarifying.
Since custom coding by us will void the support and possibly interfere with future plugin updates, it seems like we’ll probably decide to use Geodirectory for location-based listings such as studios and find another plugin for yoga teachers.
But, I am not a technical person, so please advise if I am misunderstanding.
Best regards,
Dylan RobertsonMarch 21, 2015 at 11:37 am #34771There would be no need to touch any of the plugin themselves. Coding would just be added to your child theme. Let’s wait for Paolo’s input.
-
AuthorPosts
We have moved to a support ticketing system and our forums are now closed.
Open Support Ticket