• Resolved George

    (@subscriptiongroup)


    I’m trying to figure out how to add a city on a listing.

    On the add page there’s only Address 1, Address 2 and Postcode and the same applies for the import.

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Shamalli

    (@mihail-chepovskiy)

    You can build locations tree by adding items at Directory Listings -> Directory locations. https://www.salephpscripts.com/wordpress_directory/demo/documentation/#directory_locations

    Thread Starter George

    (@subscriptiongroup)

    The Directory Locations is not what i’m after.

    on Edit Listing -> Listing Locations you already have Address 1, Address 2 & Postcode but there should also be either a city or an Address 3 field. so we can fit the full address.

    Many countries including the UK have the following address format

    Address 1
    Address 2 (optional)
    Address 3 (optional)
    City
    Postcode
    County/Province
    Country

    See the following address examples
    * SU 8-11, Victoria Place Shopping Centre, 115 Buckingham Palace Road, SW1W 9SJ, London
    * 31-34, The Arcade Lower Ground Floor, Westfield Stratford City, E20 1EH, London
    * Swansea Morriston Hospital, Heol Maes Eglwys, Morriston, Cwmrhydyceirw, Swansea, SA6 6NL
    * Edinburgh Airport Airside 1, Terminal 1, Edinburgh Airport, Ingliston, Edinburgh, EH12 9DN

    Plugin Author Shamalli

    (@mihail-chepovskiy)

    Commas in address does not mean, that each part of address must be placed on separate address line, otherwise there could be up to 10 address lines or more in some cases.

    • This reply was modified 6 years, 7 months ago by Shamalli.
    • This reply was modified 6 years, 7 months ago by Shamalli.
    • This reply was modified 6 years, 7 months ago by Shamalli.
    • This reply was modified 6 years, 7 months ago by Shamalli.
    Thread Starter George

    (@subscriptiongroup)

    Yes i know, but the first example, should be written as
    Address 1: SU 8-11, Victoria Place Shopping Centre
    Address 2: 115 Buckingham Palace Road
    Postcode: SW1W 9SJ
    City: London

    This is the cleanest way of saving it and the one used by the majority of applications storing the address.

    Is there a particular reason why you think you shouldn’t have the city as a separate field?

    Plugin Author Shamalli

    (@mihail-chepovskiy)

    There are locations fields in the plugin country/state/city, I explained in the very first comment what to do. Also please look at the documentation https://www.salephpscripts.com/wordpress_directory/demo/documentation/#directory_locations

    Plugin Author Shamalli

    (@mihail-chepovskiy)

    Thread Starter George

    (@subscriptiongroup)

    I saw your initial comment, but if i were to use this, i’d need to add a new location record for every city and town we’d like to use, no?

    I see why you’ve added this feature and it’s great to be able to customise the display of SOME major cities, but when you add venues in bulk, you can’t keep adding them on the predefined locations section.

    The way i see it, you could have an extra field for city with user input, similar to the postcode. You can then display it on the front end and use it for auto-suggest.

    Then optionally, if this field matches the predefined locations field, you can link the venue with that predefined location.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Listing Location City not showing’ is closed to new replies.