The Events Calendar plugin – Still using version 3.9.3

I use a heavily modified version of The Events Calendar plugin, version 3.9.3,  for WordPress. Though there have been numerous updates by Modern Tribe since 3.9.3, the problems associated with design and functionality have made me retreat time and again to a version I know works, 3.9.3. Until WordPress comes along and changes the core of their software to render 3.9.3 DOA, I really see no point in using any other version.

https://wordpress.org/plugins/the-events-calendar/developers/
https://downloads.wordpress.org/plugin/the-events-calendar.3.9.3.zip

Here are a few of my hacks:

the-events-calendar.php

1.) Change version to some high number to stop WordPress from notifying of updates:

Version: 3.9.3
Version: 999999

list-widget.php

1.) Add City and State to the list-widget.php file
http://fluteplayer.net/the-events-calendar-plugin-adding-city-state-to-the-widget/

<div class="duration">
<?php echo tribe_events_event_schedule_details(); ?>
<br>
<?php echo tribe_get_city(); ?>, <?php echo tribe_get_state(); ?>
</div>

2.) Remove <h4 class="entry-title summary"> tags. Replace block with this:

<!-- Event Title -->
<a href="<?php echo esc_url( tribe_get_event_link() ); ?>" rel="bookmark"><?php the_title(); ?></a>
<br>

3.) Add &raquo; to the View All Events line

<p class="tribe-events-widget-link">
<a href="<?php echo esc_url( tribe_get_events_link() ); ?>" rel="bookmark"><?php _e( 'View All Events &raquo;', 'tribe-events-calendar' ); ?></a>
</p>

 

the-events-calendar/src/admin-views/venue-meta-box.php

1.) Replace Country and State dropdowns in the venue-meta-box.php file

<tr class="venue">
<td class='tribe-table-field-label'>Country:</td>
<td>
<input tabindex="2002" type='text' name='venue[Country]' size='25' value='' /></td>
</tr>
<tr class="venue">
<td class='tribe-table-field-label'>State:</td>
<td>
<input tabindex="2004" type='text' name="venue[State]" size='2' value="CA" /></td>
</tr>

Leave a Reply

Your email address will not be published. Required fields are marked *

Shares