i just hacked together a function to display a page with posts of upcomming events.
you might want to change the HTML-part to fit your theme.
then create a simple page-template in your current theme calling this new function:
<?php /* Template Name: Upcomming EC3 */ ?> <?php get_header(); ?> <div id="content"> <h2>Upcomming Events</h2> <?php ec3_get_events_posts(); ?> </div> <!-- end content --> <?php get_sidebar(); ?> <?php get_footer(); ?>
then create a new page, leave the content empty and select the from Attributes the newly created template (in this example it would be called “Upcomming EC3”)
- The topic ‘Extension to display page with upcomming events’ is closed to new replies.