Hi Sebastien,
To do the first you will need to write a custom query. Totally doable if you know a bit of code. If not, you might want to hire a freelancer for an hour to get you that.
The calendar widget is available in the events calendar pro version: http://bit.ly/axCxLs
-S
Hi Shane,
I bought the pro version of the event calendar yesterday and replaced the free version with it.
The previous entries were listed with the blog posts and when I switched to the pro version the plugin offered me the option to transfer those entries to Events, which I did. Some entries were lost in the process.
Now, the list view doesn’t show any of the entries, yet they show up when I switch to grid view and I can see the single view for each entry when I use the permalink found in the post editor. Since it does’t work anymore when I click on an event in the grid view. Instead it sends me back to the empty list view.
Is there a difference between the free version and the pro version regarding the template tags? I couldn’t see any.
Is it possible that the problem comes from the categories? I created categories to assign to the events.
How do I get to use the events categories? The documentation is very limited and I couldn’t find is anything about that. Is there a specific forum for the pro version that I couldn’t find?
here is the code I’m using for the list view:
<?php get_header(); ?>
<div id="content">
<div id="main">
<div class="archiveCatTitle">
<ul class="calendarListButtons">
<li id="communitiesTag">Calendar</li>
<li class="calBtn spacer"><a class="calBtnOn" href="<?php echo events_get_listview_link(); ?>"><?php _e('Event List', $spEvents->pluginDomain)?></a></li>
<li class="calBtn"><a class="calBtnOff" href="<?php echo events_get_gridview_link(); ?>"><?php _e('Calendar', $spEvents->pluginDomain)?></a></li>
</ul>
</div>
<?php while ( have_posts() ) : the_post(); ?>
<div><!-- post -->
<div class="eventArea">
<div class="eventInfo">
<?php if ( is_new_event_day() ) : ?>
<h3 class="eventCountryList"><?php echo the_event_city(); ?></h3>
<?php endif; ?>
</div>
<div class="eventShortDescr">
<div class="titleEventDescript"><?php the_title('<h2><a href="' . get_permalink() . '" title="' . the_title_attribute('echo=0') . '" rel="bookmark">', '</a></h2>'); ?></div>
<p><?php echo the_event_venue() ?></p>
<p class="eventAddress"><?php echo the_event_address() ?> - <?php echo the_event_zip() ?> <?php echo the_event_country(); ?></p>
<ul class="eventMetaContent">
<li class="eventDate">
<?php echo the_event_start_date( null, false ); ?> - <?php echo the_event_end_date( null, false ); ?>
</li>
<li>
<a href="<?php the_permalink(); ?>" class="eventReadMore">read more</a>
</li>
</ul>
</div>
</div>
<div style="clear:both;"></div>
</div> <!-- End post -->
<?php $alt = ( empty( $alt ) ) ? ' alt' : '';?>
<?php endwhile; ?>
<div class="paginationEvents">
<div class="pPrevious floatLeft"><?php
if( events_displaying_upcoming() && get_previous_posts_link( ) ) : ?>
<?php previous_posts_link( '<span>« Previous Events</span>' ); ?>
<?php elseif( events_displaying_upcoming() && !get_previous_posts_link( ) ) : ?>
<a href='<?php echo events_get_past_link(); ?>'><span><?php _e('« Previous Events', $spEvents->pluginDomain ); ?></span></a>
<?php elseif( events_displaying_past() && get_next_posts_link( ) ) : ?>
<?php next_posts_link( '<span>« Previous Events</span>' ); ?>
<?php endif; ?>
</div>
<div class="pNext floatRight"><?php
if( events_displaying_upcoming() && get_next_posts_link( ) ) : ?>
<?php next_posts_link( '<span>Next Events »</span>' ); ?>
<?php elseif( events_displaying_past() && get_previous_posts_link( ) ) : ?>
<?php previous_posts_link( '<span>Next Events »</span>' ); ?>
<?php elseif( events_displaying_past() && !get_previous_posts_link( ) ) : ?>
<a href='<?php echo events_get_upcoming_link(); ?>'><span><?php _e('Next Events »', $spEvents->pluginDomain); ?></span></a>
<?php endif; ?>
</div>
</div>
</div>
<?php get_sidebar(calendar); ?>
<?php get_footer(); ?>