Support » Plugin: The Events Calendar » [Plugin: The Events Calendar] How to change

Viewing 12 replies - 1 through 12 (of 12 total)
  • Plugin Author Rob La Gatta

    (@roblagatta)

    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?

    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 🙂

    Plugin Author Rob La Gatta

    (@roblagatta)

    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.

    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!

    Plugin Author Rob La Gatta

    (@roblagatta)

    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.

    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.

    Plugin Author Rob La Gatta

    (@roblagatta)

    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.

    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

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

    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

    Plugin Author Barry Hughes

    (@websitebakery)

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

    Plugin Author Rob La Gatta

    (@roblagatta)

    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.

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘[Plugin: The Events Calendar] How to change’ is closed to new replies.