States Other than the US in the default content.

Home Forums Calendar Products Events Calendar PRO States Other than the US in the default content.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1118041
    Chris
    Participant

    Hi,

    I’m just working through the configuration for the events calendar pro plugin and setting up default content.

    I live in Australia, and it seems you can’t pick Australian States when you select Australia as a country.

    Can you please investigate and advise?

    Thanks

    Chris

    #1118057
    George
    Participant

    Hey Chris,

    At this time only US states are supplied in the code out-of-the-box, in terms of “default content.” Venues can, of course, use addresses for anywhere in the world….

    Sorry for this ethnocentrism on our part, if it can be called that—we are working on a more robust set of default content options for some future release, and while I don’t have a specific ETA for this at this time it’s something on our radar.

    If you want to modify this at this time, the only way would be to head to the Tribe__View_Helpers class and find its loadStates() method, then alter what states are returned there.

    You can find this in any plugin of ours, in its /common folder at this file path:

    common/src/Tribe/View_Helpers.php

    Thank you,
    George

    #1119377
    Chris
    Participant

    Thanks George,

    Happy to work for the moment with adding the state on the event!

    Chris

    #1119734
    George
    Participant

    This reply is private.

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘States Other than the US in the default content.’ is closed to new replies.