Add City Name To Listing Page
This topic contains 23 replies, has 4 voices, and was last updated by Guust 5 years, 6 months ago.
We have moved to a support ticketing system and our forums are now closed.
Open Support Ticket-
AuthorPosts
-
August 30, 2019 at 12:09 am #505637
Hello GD, is there a way to add the city name to the Search Page, & Listing Pages?
I would also like to remove the Red New and words -Place Description
Please see attached image.
I’m using WordPress 5.2.2
Geo Directory Version 2.0.0.66Thank you very much for any help you can provide, once this is complete i’ll purchase the plugin for multiple cities.
Jess
August 30, 2019 at 3:02 am #505657The city name can be added with the Location Manager, with this shortcode:
[gd_post_address address_template="%%city%%"]
To remove the NEW, delete this shortcode at GD > Settings > Pages > Archive Item > Edit:
[gd_post_badge key='post_date' condition='is_less_than' search='+30' icon_class='fas fa-certificate' badge='New' bg_color='#ff0000' txt_color='#ffffff' alignment='left']
To change “place description”, change the field label at Places > Settings > Custom fields > Description
Thanks
August 30, 2019 at 11:44 pm #505797Thanks, I got two out of three, I was unable to do this.
The city name can be added with the Location Manager, with this shortcode:
I’m a newby so can you provide the path, please?
August 30, 2019 at 11:50 pm #505798Please share WP Admin site credentials in a private reply so we can take a look at the settings.
If that is the Archive item the city should show in the address if you are using GD Output location to show the address.
August 31, 2019 at 4:47 am #505812This reply has been marked as private.August 31, 2019 at 5:15 am #505816I can see the city name is now added, see image.
Re upload error, see https://wpgeodirectory.com/docs-v2/geodirectory/settings/import-export/#not-a-valid-csv-file
If you want to add the city name to the Archive pages, then go to
GD > Settings > Pages > Archive Item page > Edit
and add this shortcode:[gd_post_address address_template="%%city%%"]
Review https://wpgeodirectory.com/docs-v2/geodirectory/shortcode-builder/ to learn more about how to adjust shortcodes.
Thanks
August 31, 2019 at 8:13 pm #505872Thanks but I’m still having issues. I want the city name added to the Search page, however, I need the order correct.
I would like it to appear like this
Address:
City:
ZipCode:
State:
OR
Address:
City: State: Zip:Thank you all for being patient!!
August 31, 2019 at 11:12 pm #505877Thanks, the plugin worked for the Import.
But now there’s another issue.
1.On the Search Page I have a huge gap with what appears to be an image and link..what are they and how do I remove them? You can see the image for clarification.2. After an import do you have to login and set the address on the map for every location?
Thank you for much appreciated assistance!
Jess
August 31, 2019 at 11:18 pm #505879I have those same links on the GD Location Page also see attached image.
September 1, 2019 at 1:04 am #505882Use the shortcode builder on the GD Archive Item to add addresses to the Listings on Search pages. Try these shortcodes, adjust as required:
[gd_post_address show="icon-label-value" address_template="%%city_br%% %%zip_br%% %%region%%"]
[gd_post_address show="icon-label-value" address_template="%%city%%, %%zip%%, %%region%%"]
1.On the Search Page I have a huge gap with what appears to be an image and link..what are they and how do I remove them?
The blank parts are because you have not uploaded the images yet, for example this is where one of the images is supposed to be:
…/wp-content/uploads/2019/08/california-solar-roof.jpg
but it does not exist.2. After an import do you have to login and set the address on the map for every location?
That is not necessary if you are using the correct address in your CSV file and you have set up your Google API key correctly.
I have those same links on the GD Location Page also see attached image.
The blank parts are because you have not uploaded the images yet.
Thanks
September 1, 2019 at 1:20 am #505886Thank you for the great responses, how would do I import locations without the images?
September 1, 2019 at 2:09 am #505890Do not enter any data in the image columns.
ThanksSeptember 1, 2019 at 5:07 pm #505947My map in populate on the website, however, I see this error “Must Provide Google Map Api for Search Location via google map” See attached Image.
I have added the API Key but it’s still there, also, when I import locations they don’t appear unless I go in each and Set the Address in each location.September 1, 2019 at 11:10 pm #505978That message comes from your “WP Multi Store Locator Free” plugin.
If you are not using that plugin it may be better to turn it off, using more than one plugin that uses Google maps often results in conflicts.
Make sure to follow the links at GD > Settings > General, see image.
You may have to create a new key using those links to make sure the key is valid for all the different APIs.https://wpgeodirectory.com/docs-v2/integrations/google/
Thanks
September 1, 2019 at 11:34 pm #505981This reply has been marked as private. -
AuthorPosts
We have moved to a support ticketing system and our forums are now closed.
Open Support Ticket