Adding New Countries

Home Forums Calendar Products Events Calendar PRO Adding New Countries

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #1431492
    fortins
    Participant

    Hi,

    How does one go about adding new countries to the various Location / Venue definitions for Calendar Pro? For instance the site I am building will be referencing many island nations and I noticed that, for instance, the Autonomous Region of the Azores is not listed.

    If this is documented somewhere please point me in the right direction :).

    Thanks for your help!

    …Michael…

    • This topic was modified 8 years, 3 months ago by fortins. Reason: Typo
    #1431525
    fortins
    Participant

    Just to clarify – the Default Content -> Use a list of custom countries does not work for me since that replaces the entire list. I am looking to add countries to the existing list. If that is the only solution then how do I extract the entire list to then re-add with the additional countries?

    #1432841

    Hi Faith,

    Thanks so much for reaching out!

    We are currently experiencing a high volume of threads and will get back to you shortly with a more substantial response.

    Thanks for your patience!

    #1433096
    Cliff
    Member

    Hi, Michael.

    The default list of countries comes from Line 42 of /wp-content/plugins/the-events-calendar/common/src/Tribe/View_Helpers.php

    $countries = tribe( 'languages.locations' )->get_countries();

    The list is actually built in /wp-content/plugins/the-events-calendar/common/src/Tribe/Languages/Locations.php

    Please let me know if you have any follow-up questions on this topic.

    #1451902
    Support Droid
    Keymaster

    Hey there! This thread has been pretty quiet for the last three weeks, so we’re going to go ahead and close it to avoid confusion with other topics. If you’re still looking for help with this, please do open a new thread, reference this one and we’d be more than happy to continue the conversation over there.

    Thanks so much!
    The Events Calendar Support Team

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Adding New Countries’ is closed to new replies.