rossing
Forum Replies Created
-
I deactivated the plugins and changed themes at the same time. Should I go back to the theme I’m working on or reactivate the other plugins now?
Yup!
Tried that with the 2012, 2013, and 2014 themes, still no effect.
I’m on WordPress 3.9 and Events Manager 5.5.2 on a local MAMP setup.
Sorry for the late reply. I’m going to “Recurring Events,” clicking on the event in question, scrolling down to where you set the recurrence, where it’s set to montly, click the dropdown and select “Sun.” and then I hit update on the righthand side. It tells me that it’s been updated, but I look down and it’s still on Saturday.
Is this sufficient detail? Thanks!
Yes, exactly, sorry for my muddled words!
[Moderator Note: No bumping, thank you.]
Sorry, I’m still having trouble with this. I replaced “location” with event in the code each time, should I have only done it for the first one?
This is the code I used in the functions.php:
add_filter('em_location_output_placeholder','my_em_placeholder_mod',1,3); function my_em_placeholder_mod($replace, $EM_Location, $result){ switch( $result ){ case '#_LOCATIONNEXTEVENTS': $events = EM_Events::get( array('event'=>$EM_event->event_id, 'scope'=>'future', 'limit'=>3) ); if ( count($events) > 0 ){ $replace = get_option('dbem_location_event_list_item_header_format'); foreach($events as $event){ $replace .= $event->output(get_option('dbem_location_event_list_item_format')); } $replace .= get_option('dbem_location_event_list_item_footer_format'); } else { $replace = get_option('dbem_location_no_events_message'); } break; } return $replace; }I’m using shortcode “[events_list] #_LOCATIONNEXTEVENTS [/events_list]”
Thanks!
Yes, in the single event page for one instance of a recurring event, I would want it to list all of the upcoming instances of the recurring event.
That works, but I’m trying to set it up so that any given instance of a recurring event will automatically list all instances of a recurring event in the post. I’m trying to use the post_id attribute as the recurrence, but it’s not working.