Remove Physical Street Address from LOCATION on Listing

WordPress Business Themes Forums Responsive Themes Directory Theme Remove Physical Street Address from LOCATION on Listing

Discontinued - The forum content is out of date. For theme support please use our support desk here.

Remove Physical Street Address from LOCATION on Listing

April 3, 2019
Anthony Anthony
  • Anthony
    Anthony
    Senior Member 336 points

    Can any one share how to remove the physical address part from the LOCATION field on our listings? E.g. keep the LOCATION city and state but NOT the address like 1234 main street. People are upset they want their city and state but not their actual number and street address portion. Can this be done? We tried [LOCATION hide=”address”] etc….

    April 3, 2019 at 9:08 pm
  • Marie
    Marie
    Super Guru 1,747 points

    hi Anthony,

    are you displaying it to the sidebar of the listing page?

    can you send a screenshot to where exactly is that please

    thanks

    April 4, 2019 at 2:34 am
  • Anthony
    Anthony
    Senior Member 336 points

    Thank you kindly. It is shown on top ,left of their listing page. Some show the city and state only while others the full address. It seems to be pulling from their Google Map location address if they fill it out fully. See attached image…

    (we are thinking that the only way to stop the street part from showing is to manually edit it out within their MAPS section of the listing after it is created)

    Attachments:
    You must be logged in to view attached files.
    April 4, 2019 at 7:37 pm
  • Marie
    Marie
    Super Guru 1,747 points

    hi Anthony,

    I can see you’re using version 8, are you using Theme setup > page setup > listing page > custom display?

    if yes, try to change the [LOCATION] shortcode to [FIELD show=”map-city”] instead then see if it works

    April 5, 2019 at 2:26 am
  • Anthony
    Anthony
    Senior Member 336 points

    Yes we are….thank you all it did was add [FIELD show=”map-city”] where the location was. I think it is easier just to edit out their address as users enroll and edit those that complain abut it. Can not figure out how to only show the city and state in the. FYI – the code in the custom display area is: <div class=’mainlocation’>[LOCATION]

    April 9, 2019 at 9:24 pm
Viewing 5 posts - 1 through 5 (of 5 total)

Didn't find what you were after?

Chat with us now

or contact our support team