WordPress.org

Ready to get started?Download WordPress

Forums

The Events Calendar
[resolved] How to change (13 posts)

  1. Narayanaya
    Member
    Posted 1 year ago #

    Hi,
    Installed the Events Calendar today and made it work. But can't change the time format from am/pm to e.g 14.00. Grateful if any one could instruct me where to change this. Been trying to find out how to do it in forums but no luck :(

    http://wordpress.org/extend/plugins/the-events-calendar/

  2. roblagatta
    Modern Tribe Support
    Plugin Author

    Posted 1 year ago #

    Hi there, Narayananaya. Thanks for the note here, and for your use of The Events Calendar. We appreciate you giving the plugin a shot.

    If I understand your issue correctly, time-related settings are stored under Settings -> General (and are for your overall WordPress site, rather than Events-specific). Does that help at all?

  3. Narayanaya
    Member
    Posted 1 year ago #

    Hi there,
    Thanks. Its now fixed. There were two time options that looked the same (10:29) so tried the other one and it works :)

  4. roblagatta
    Modern Tribe Support
    Plugin Author

    Posted 1 year ago #

    Awesome to hear you got this sorted. I'm going to go ahead and mark the thread RESOLVED, but please let us know if you need anything else down the road. We appreciate your support and use of The Events Calendar. If you ever find yourself with a free minute and would be so kind as to give us a positive star rating and/or a WORKS vote here on the dot-org forum, we would really appreciate it. Thanks again.

  5. Narayanaya
    Member
    Posted 1 year ago #

    Hi there,
    For sure I will and once again thank you. I have one more question though. In my event list the address shown up really ugly (http://www.hf-hantverkstan.se/wordpress/events/kategori/evenemang/). As you can see on the second event the zip code breaks. Is there any way to fix this? Thanks!

  6. roblagatta
    Modern Tribe Support
    Plugin Author

    Posted 1 year ago #

    Hey Narayanaya, are you still having issues here? Apologies that your follow-up here slipped through the cracks. Let me know if this persists after updating to 2.0.10.

  7. Narayanaya
    Member
    Posted 1 year ago #

    Hi there,
    Thank you for getting back to me. Planning to finish the site by Friday and yes, it still looks kind of weird.

    http://www.hf-hantverkstan.se/wordpress/events/kategori/evenemang/

    Is there anyway to have the address information to the right on the event list separated correctly (street address on one row, zip code on another line etc)?

    Grateful for any help on this matter.

  8. roblagatta
    Modern Tribe Support
    Plugin Author

    Posted 1 year ago #

    Yeah, that should be doable...I'm not really sure why it's centered to begin with. Assuming this is a straightforward fix, I've asked a member of our dev team to take a look and try to point you in the right direction. No guarantees (if it's super complex it might be outside the scope of what we can support) but should be doable. Stay tuned and thanks for your patience so far.

  9. jonahcoyote
    Member
    Posted 1 year ago #

    Hi Narayanaya,

    You can control how the address is broken out by making a copy of /wp-content/plugins/the-events-calendar/views/full-address.php and placing in an 'events' folder in your active theme. Then, you can re-arrange or add classes to any of the individual address elements so you can then style them via CSS. For example, the zip code code looks like:

    <?php $address_out []= '<span itemprop="postalCode">' . tribe_get_zip( $postId ) . '</span>'; ?>

    you could add a class like so:

    <?php $address_out []= '<span itemprop="postalCode" class="postalCode">' . tribe_get_zip( $postId ) . '</span>'; ?>

    and then you would be able to style that specific block like so:

    .postalCode {
    display: block;
    width: 200px;
    }

    Does that help?

    - Jonah

  10. Narayanaya
    Member
    Posted 1 year ago #

    Thanks Jonah,
    Im a rookie when it comes to coding so feel a bit out of my league. Thanks anyway :)

  11. jonahcoyote
    Member
    Posted 1 year ago #

    Well, the beauty of overrides (making a copy of /wp-content/plugins/the-events-calendar/views/full-address.php) is that if anything goes wrong, just delete or rename the copy you made and things will work like normal. That way you can play around with things until you get it working. That's what any of us coders do anyway! :)

    - Jonah

  12. Barry Hughes
    Member
    Plugin Author

    Posted 1 year ago #

    Hi Narayanaya - do you need any further help with this issue or are you all good?

  13. roblagatta
    Modern Tribe Support
    Plugin Author

    Posted 1 year ago #

    Going to mark this one resolved, Narayanaya, since it sounds like we're set here and we haven't heard anything back. Please let us know if you disagree.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.