Hi Vikas,
Bug 1: If I choose a new location the location switcher doesn’t show the new location, until I select the “View All” link for a CPT.
See attached images.
————————————————————————
I am using the Enfold theme and want to show the current location in the title bar on the home page. I experimented with …
$location_terms = geodir_get_current_location_terms('session') ; // Lookup any current session filters by location
echo 'Home Page Location session = '; // GWB
print_r($location_terms); // GWB show them at the top of the page
After selecting a location the $location_terms returns [gd_country] = cityname when it returns to the home page. That doesn’t look right?
If I click on the site logo to return to the home page the location_terms returns the array correctly. See Image 4.
What is the correct way to get the current location filter, or is this demonstrating a bug?
———————————————————————–
Bug 2: I think this is related, and similar to an error I reported previously…
i. Select a location from the Location Filter
ii. Click on View All – the View All link is…
site/retailers/city-name
iii. Click on the site logo
iv. The View All link is now …
site/retailers/australia/new-south-wales/city-name
and it gives a 404 error
Login details in next message