GeoDirectory SupportDefault Location – Region – GeoDirectory Support https://wpgeodirectory.com/support/topic/default-location-region/feed Fri, 14 Mar 2025 17:01:21 +0000 http://bbpress.org/?v=2.5.14-6684 en-US https://wpgeodirectory.com/support/topic/default-location-region/#post-10739 <![CDATA[Default Location – Region]]> https://wpgeodirectory.com/support/topic/default-location-region/#post-10739 Sat, 02 Aug 2014 04:08:58 +0000 Dmitri Hello,

Is there any way to get rid off “Region” from Address. In many small countries like Latvia we don’t have Region or State at all.

For example Latvian address look like:

Kaļķu iela 8, Rīga, LV-1050, Latvia

With “Region” required the address at GD look like

Kaļķu iela 8
Rīga
Rīgas pilsēta
LV-1050
Latvia

http://www.informeron.lv/kur-paest/riga/restorani/ribs-rock/

For “Rīga” GD set region as “Rīgas pilsēta”

Also address in one or two lines looks better, for example

Kaļķu iela 8, Rīga, LV-1050, Latvia

or

Kaļķu iela 8, Rīga
LV-1050, Latvia

Is it possible to set it up this way.

Thanks,
Dmitri

]]>
https://wpgeodirectory.com/support/topic/default-location-region/#post-10797 <![CDATA[Reply To: Default Location – Region]]> https://wpgeodirectory.com/support/topic/default-location-region/#post-10797 Sat, 02 Aug 2014 18:18:53 +0000 Simone Hello, actually it can’t be done for the core, what can be done is maybe hiding the region from the CSS with some tweaking

]]>
https://wpgeodirectory.com/support/topic/default-location-region/#post-10808 <![CDATA[Reply To: Default Location – Region]]> https://wpgeodirectory.com/support/topic/default-location-region/#post-10808 Sat, 02 Aug 2014 19:01:33 +0000 Paolo That is the address as Google Maps API returns it for that address.

As Simone suggested you can tweak things around with css.

Thx

]]>
https://wpgeodirectory.com/support/topic/default-location-region/#post-10824 <![CDATA[Reply To: Default Location – Region]]> https://wpgeodirectory.com/support/topic/default-location-region/#post-10824 Sun, 03 Aug 2014 03:53:13 +0000 Dmitri Could you help me to do that, I couldn’t figure out witch class exactly is responsible for address region?

Thanks,
Dmitri

]]>
https://wpgeodirectory.com/support/topic/default-location-region/#post-10870 <![CDATA[Reply To: Default Location – Region]]> https://wpgeodirectory.com/support/topic/default-location-region/#post-10870 Sun, 03 Aug 2014 22:31:27 +0000 Simone At first look, the address doesn’t have a specified span class, so first it must be declared in the template tags and then added to the css.
(I know…I’m being vague 🙂 )

]]>
https://wpgeodirectory.com/support/topic/default-location-region/#post-10892 <![CDATA[Reply To: Default Location – Region]]> https://wpgeodirectory.com/support/topic/default-location-region/#post-10892 Mon, 04 Aug 2014 03:46:14 +0000 Dmitri Could you help me to declare it in the template.

]]>
https://wpgeodirectory.com/support/topic/default-location-region/#post-10941 <![CDATA[Reply To: Default Location – Region]]> https://wpgeodirectory.com/support/topic/default-location-region/#post-10941 Mon, 04 Aug 2014 18:22:18 +0000 Paolo Best you can do without modifying templates.

// remove line breaks we don’t want and the region field


.geodir-company_info .geodir_more_info span:nth-child(6), 
.geodir-company_info .geodir_more_info br:nth-child(3), 
.geodir-company_info .geodir_more_info br:nth-child(7), 
.geodir-company_info .geodir_more_info br:nth-child(9)  
{
    display: none;
}

// add space between address and city, zip and country


.geodir-company_info .geodir_more_info span:nth-child(2), .geodir-company_info .geodir_more_info span:nth-child(8) {
    margin: 0 10px 0 0;
}

Thx

]]>
https://wpgeodirectory.com/support/topic/default-location-region/#post-10985 <![CDATA[Reply To: Default Location – Region]]> https://wpgeodirectory.com/support/topic/default-location-region/#post-10985 Tue, 05 Aug 2014 04:58:55 +0000 Dmitri Thanks Paolo, that works! I just need to figure out how to add “,”.

Thanks again,
Dmitri

]]>
https://wpgeodirectory.com/support/topic/default-location-region/#post-11039 <![CDATA[Reply To: Default Location – Region]]> https://wpgeodirectory.com/support/topic/default-location-region/#post-11039 Tue, 05 Aug 2014 16:50:43 +0000 Paolo YW,

there is no way to do tht without modifying the template…

]]>
https://wpgeodirectory.com/support/topic/default-location-region/#post-11133 <![CDATA[Reply To: Default Location – Region]]> https://wpgeodirectory.com/support/topic/default-location-region/#post-11133 Wed, 06 Aug 2014 02:56:40 +0000 Dmitri Do you know how should I modify the template to add “,”?

]]>