GeoDirectory Supporthomepage title – GeoDirectory Support https://wpgeodirectory.com/support/topic/homepage-title/feed Fri, 30 Jan 2026 17:08:48 +0000 http://bbpress.org/?v=2.5.14-6684 en-US https://wpgeodirectory.com/support/topic/homepage-title/#post-14370 <![CDATA[homepage title]]> https://wpgeodirectory.com/support/topic/homepage-title/#post-14370 Fri, 05 Sep 2014 06:55:51 +0000 czar Hi, With Enfold and GD, homepage title is “Location“. I do not want to remove title option to whole site, but only in homepage. You can not change this title “Location” with the city name? (see image)

thanks

]]>
https://wpgeodirectory.com/support/topic/homepage-title/#post-14377 <![CDATA[Reply To: homepage title]]> https://wpgeodirectory.com/support/topic/homepage-title/#post-14377 Fri, 05 Sep 2014 09:07:05 +0000 John Allsopp That’s a nice idea, i will look into it to see what would be involved…

]]>
https://wpgeodirectory.com/support/topic/homepage-title/#post-14380 <![CDATA[Reply To: homepage title]]> https://wpgeodirectory.com/support/topic/homepage-title/#post-14380 Fri, 05 Sep 2014 09:44:15 +0000 czar Thanks John ;-), of course, also appears in title page

Location - SFOGLIA CITTÀ
]]>
https://wpgeodirectory.com/support/topic/homepage-title/#post-14886 <![CDATA[Reply To: homepage title]]> https://wpgeodirectory.com/support/topic/homepage-title/#post-14886 Wed, 10 Sep 2014 07:04:50 +0000 czar Hi, any solution for this?

]]>
https://wpgeodirectory.com/support/topic/homepage-title/#post-15813 <![CDATA[Reply To: homepage title]]> https://wpgeodirectory.com/support/topic/homepage-title/#post-15813 Thu, 18 Sep 2014 16:52:57 +0000 czar Hi, with support of Kriesi for Enfold, I found a solution (maybe) to Location, but I have problems with formatting title generated by GD. Can anyone help me?
thanks

Code to add to function.php:


add_filter('avf_title_args', 'avia_change_title', 10, 2);

function avia_change_title($args, $id)
{
	if(!is_page(22)){
		$current_location = geodir_get_current_location();
		$args['title'] = $current_location;
	}
	return $args;
}
]]>