Forum Replies Created
-
AuthorPosts
-
motherstrust
ParticipantYou’re awesome! Thank you for helping us trouble shoot this!! We have also let our theme support know since their theme COMES with the regular events calendar plugin.
motherstrust
ParticipantThank you so much! Resolved!
motherstrust
ParticipantI don’t think I do…. here are the files listed in the /tribe-events/ directory:
default-template.php
single-event.php
list/nav.php
widget/list-widget.php
modules/bar.phpmotherstrust
ParticipantIf I go ahead and install the events calendar pro (which i have purchased), will it transfer all the events I currently have in the system of the regular events calendar widget?
Also, I did not see an answer to troubleshooting the issue with the “previous events” button not showing up.
motherstrust
ParticipantI do not believe we have any custom templates in the theme for the widget…events calendar was part of the theme. I looked at the list-widget.php (see below) but wasn’t clear where exactly you wanted me to drop in this code. Could you please clarify?
<?php
/**
* Events List Widget Template
* This is the template for the output of the events list widget.
* All the items are turned on and off through the widget admin.
* There is currently no default styling, which is needed.
*
* This view contains the filters required to create an effective events list widget view.
*
* You can recreate an ENTIRELY new events list widget view by doing a template override,
* and placing a list-widget.php file in a tribe-events/widgets/ directory
* within your theme directory, which will override the /views/widgets/list-widget.php.
*
* You can use any or all filters included in this file or create your own filters in
* your functions.php. In order to modify or extend a single filter, please see our
* readme on templates hooks and filters (TO-DO)
*
* @return string
*
* @package TribeEventsCalendar
* @since 2.1
* @author Modern Tribe Inc.
*
*/
if ( !defined(‘ABSPATH’) ) { die(‘-1’); }//Check if any posts were found
if ( $posts ) {
?>-
<?php
foreach( $posts as $post ) :
setup_postdata( $post );
?><div class=”<?php if ( is_front_page() ) { echo “medium-4”; } else { echo “large-12″; } ?> columns”>
<li class=”tribe-events-list-widget-events <?php tribe_events_event_classes() ?>”><?php do_action( ‘tribe_events_list_widget_before_the_event_title’ ); ?>
“>
<?php echo rescue_tribe_event_featured_image(null, ‘large’) ?>
<!– Event Title –>
<h5 class=”entry-title summary”>
” rel=”bookmark”><?php the_title(); ?>
</h5><?php do_action( ‘tribe_events_list_widget_after_the_event_title’ ); ?>
<!– Event Time –><?php do_action( ‘tribe_events_list_widget_before_the_meta’ ) ?>
<div class=”duration”>
<?php echo tribe_events_event_schedule_details(); ?>
</div><?php do_action( ‘tribe_events_list_widget_after_the_meta’ ) ?>
</div>
<?php
endforeach;
?><!– .hfeed –>
<p class=”tribe-events-widget-link”>” rel=”bookmark”><?php _e( ‘View All Events’, ‘tribe-events-calendar’ ); ?></p>
<?php
//No Events were Found
} else {
?>
<p><?php _e( ‘There are no upcoming events at this time.’, ‘tribe-events-calendar’ ); ?></p>
<?php
}
?> -
AuthorPosts
