GeoDirectory Supportdisplay city name – GeoDirectory Support https://wpgeodirectory.com/support/topic/display-city-name/feed Thu, 12 Mar 2026 13:42:01 +0000 http://bbpress.org/?v=2.5.14-6684 en-US https://wpgeodirectory.com/support/topic/display-city-name/#post-2483 <![CDATA[display city name]]> https://wpgeodirectory.com/support/topic/display-city-name/#post-2483 Mon, 19 May 2014 09:14:28 +0000 czar Hi, two question:

1) what is php function for display city name in a page?
eg:

<?php $cityname ?>

2) Use this plugin: http://wordpress.org/plugins/widget-logic/
which is conditional function for display widget in a determined city?

]]>
https://wpgeodirectory.com/support/topic/display-city-name/#post-2501 <![CDATA[Reply To: display city name]]> https://wpgeodirectory.com/support/topic/display-city-name/#post-2501 Mon, 19 May 2014 10:42:04 +0000 Vikas There is no such function. Still for which page u are talking?

]]>
https://wpgeodirectory.com/support/topic/display-city-name/#post-2505 <![CDATA[Reply To: display city name]]> https://wpgeodirectory.com/support/topic/display-city-name/#post-2505 Mon, 19 May 2014 11:23:18 +0000 czar Hi Vikas, city name ​​appears in the menu. There will be a function that creates this name…
thanks

]]>
https://wpgeodirectory.com/support/topic/display-city-name/#post-2517 <![CDATA[Reply To: display city name]]> https://wpgeodirectory.com/support/topic/display-city-name/#post-2517 Mon, 19 May 2014 13:45:13 +0000 Vikas Hi,
if u have multilocation on then u can use this statement.
$current_location_link = geodir_get_location_link();
echo $current_location_link ;
but this may have country or region too, depends on what the user has selected either from breadcrumb or a search.

Please advise ?

]]>
https://wpgeodirectory.com/support/topic/display-city-name/#post-2536 <![CDATA[Reply To: display city name]]> https://wpgeodirectory.com/support/topic/display-city-name/#post-2536 Mon, 19 May 2014 17:07:18 +0000 Paolo @rightmentor, Cesare is using Templatic’s Directory theme. Not our plugin.

@cesarecantagalli you are asking support for a competitor product…

I know their support sucks big time, but if you want to enjoy our support, you need to buy our product.

We are not going to offer you any support for that theme.

]]>
https://wpgeodirectory.com/support/topic/display-city-name/#post-2538 <![CDATA[Reply To: display city name]]> https://wpgeodirectory.com/support/topic/display-city-name/#post-2538 Mon, 19 May 2014 17:12:11 +0000 czar @paolo, but I do not want to support that theme, I already have. I need your to Geodirectory. if you reply here: https://wpgeodirectory.com/support/topic/location-urls/#post-2535

]]>
https://wpgeodirectory.com/support/topic/display-city-name/#post-2572 <![CDATA[Reply To: display city name]]> https://wpgeodirectory.com/support/topic/display-city-name/#post-2572 Mon, 19 May 2014 20:48:32 +0000 czar @Vikas, i use geodirectory plugin (see live site)

this statement


$current_location_link = geodir_get_location_link();
echo $current_location_link ;

generate this:

http://www.sfogliacitta.it/area/milano/

I would just city name Milano (if possible)

thanks

]]>
https://wpgeodirectory.com/support/topic/display-city-name/#post-2582 <![CDATA[Reply To: display city name]]> https://wpgeodirectory.com/support/topic/display-city-name/#post-2582 Tue, 20 May 2014 01:54:44 +0000 Vikas Sorry about that please use this.

$current_location = geodir_get_current_location();

Thanks for ur patience.

]]>
https://wpgeodirectory.com/support/topic/display-city-name/#post-2583 <![CDATA[Reply To: display city name]]> https://wpgeodirectory.com/support/topic/display-city-name/#post-2583 Tue, 20 May 2014 01:55:00 +0000 Vikas $current_location = geodir_get_current_location();
echo $current_location ;

]]>
https://wpgeodirectory.com/support/topic/display-city-name/#post-2593 <![CDATA[Reply To: display city name]]> https://wpgeodirectory.com/support/topic/display-city-name/#post-2593 Tue, 20 May 2014 05:07:55 +0000 czar Thanks Vikas

]]>