Hi sashabenson,
As mentioned in our sticky thread (http://ww.wp.xz.cn/support/topic/welcome-the-events-calendar-users-read-this-first), we unfortunately are unable to help with with customization, styling or integration issues not caused by bugs with The Events Calendar. You have a few options:
1. Check out our extensive support resources and try to figure it out on your own: https://tri.be/support/ & http://tri.be/support/forums
2. Hire a developer to assist you. We’ve got a list of freelancers who know our code and who we can vouch for. Email us (pro at tri.be) and we’ll pass that list your way.
3. Purchase a Pro license to get more support: http://tri.be/shop/wordpress-events-calendar-pro/. As mentioned in the sticky thread, we can provide both a deeper and more frequent level of support for PRO users.
I hope that helps and good luck!
Cheers,
– Jonah
Can you atleast just tell us the .php file we need to adjust? It’s just an issue of switching the “when” div with the “event” but I can’t find it anywhere.
Hey sashabenson,
If you go to /wp-content/plugins/the-events-calendar/views/events-list-load-widget-display.php
Change line 41-58 from …
<div class="when">
<?php
$space = false;
$output = '';
echo tribe_get_start_date( $post->ID );
if( tribe_is_multiday( $post->ID ) || !$event->AllDay ) {
echo ' – '. tribe_get_end_date($post->ID);
}
if( $event->AllDay ) {
echo ' <small><em>('.__('All Day','tribe-events-calendar').')</em></small>';
}
?>
</div>
<div class="event">
<a>ID); ?>"><?php echo $post->post_title; ?></a>
</div>
to this
<div class="event">
<a>ID); ?>"><?php echo $post->post_title; ?></a>
</div>
<div class="when">
<?php
$space = false;
$output = '';
echo tribe_get_start_date( $post->ID );
if( tribe_is_multiday( $post->ID ) || !$event->AllDay ) {
echo ' – '. tribe_get_end_date($post->ID);
}
if( $event->AllDay ) {
echo ' <small><em>('.__('All Day','tribe-events-calendar').')</em></small>';
}
?>
</div>
[Please use the code buttons – as is your code may have been damaged]
Hi all,
Make sure when making changes to the views files like this that you first make a copy and place in an ‘events’ folder in your theme. This will allow you to make changes and not have them overwritten the next you update 🙂 You can read more on customizing the plugin here: http://tri.be/support/documentation/events-calendar-themers-guide/ and here: http://tri.be/what-are-template-overrides-and-how-do-i-do-them/
– Jonah