[Resolved] [Plugin: Events Manager] Recurring events create too many post in homepage
i use you events manager plugin and i fall in love with it. 🙂
I’ve got a problem: when i create a recurring event, it creates a post for every single day and it publishes them in homepage.
It’s possible to show only one post for the recurring events in home?
I use this code to display events in homepage, insterted in functions.php:
<?php $loop = new WP_Query( array( 'post_type' => 'event', 'posts_per_page' => 5, )); ?> <?php while ( $loop->have_posts() ) : $loop->the_post(); ?> <?php // added this to be able to use shortcodes and placeholders $EM_Event = em_get_event($post->ID, 'post_id'); ?> <h4><?php echo $EM_Event->output('#_EVENTLINK'); ?></h4> <?php endwhile; /* End loop */ ?> <?php wp_reset_query(); ?>
My site is http://www.giuriservice.com
Thanks in advance for your support.
- The topic ‘[Resolved] [Plugin: Events Manager] Recurring events create too many post in homepage’ is closed to new replies.