• Resolved j_mo

    (@j_mo)


    Hi there,

    On my home page I am showing posts from different post types, these are currently standard posts and events. The trouble is that recurring events are showing for every separate instance. I would like to show only one per recurring event entry.

    I have read this support thread and have used this on my events page – https://www.ads-software.com/support/topic/plugin-events-manager-list-recurring-events-as-one-event?replies=11

    My question is, how can I do the same on my home page where I have this –

    <?php if ( 'event' == get_post_type()  ) : ?>
    
          <?php global $post;
    		$EM_Event = em_get_event($post->ID, 'post_id'); ?>
    
    			<article class="bit-4 eventPost <?php echo $EM_Event->output('#_CATEGORYNAME'); ?> grid-sizer grid-item">
    				<div class="eventInner homePost">
                                    	<p class="postLabel">Event</p>
                        			<h1 class="eventListTitle"><a href="<?php the_permalink(); ?> "><?php the_title(); ?></a></h1>
                                            <p class="postedOn"><?php echo $EM_Event->output('#_{d M Y} #@_{- d M Y}'); ?></p>
                                		<p><?php echo $EM_Event->output('#_EVENTEXCERPT{12,...}'); ?></p>
                                    </div>
                            </article>
    <?php endif; ?>

    Thanks

    https://www.ads-software.com/plugins/events-manager/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support angelo_nwl

    (@angelo_nwl)

    for recurring event, you can try to use this cpt name ‘event-recurring’

    Hi can you help? guests trying to publish a reoccurring events using the submission form get an ”unauthorized access’ message. Their event goes to the reoccurring events listings in the events manager admin bar but is not published to the calendar …. do you know if I can fix this to have the same open permissions as one off events ?

    Plugin Support angelo_nwl

    (@angelo_nwl)

    sorry but maybe you can re-post in a new thread to avoid confusion with the original thread. thanks

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘One post for recurring events’ is closed to new replies.