[Plugin: Events Manager] filtering not working – full/ owner/ category
-
I might simply be getting confused here but filtering is simply not working.
What I want to do is display a normal calendar BUT also, if you are loggedin and are the owner of an event in a specific category, also display that.
So … for example:
I need to display, in a full calendar, all events except category 5 unless you are the owner of an event which is in category 5I have tried various combinations of:
<?php echo EM_Events::output($cell_data['events'],array('format'=>get_option('dbem_full_calendar_event_format'), 'category'=>5)); ?>
<?php echo do_shortcode('[events_list full="1" category="5" owner="' . $current_user->ID . '"]'); ?>
<?php if (class_exists('EM_Calendar')) { echo EM_Calendar::output($cell_data['events'],array('format'=>get_option('dbem_full_calendar_event_format'), 'category'=>5)); } ?>
etc
But I’m simply getting either a full calendar with all events or nothing.
This is on the calendar-full.php file.
Any help will be appreciated.
- The topic ‘[Plugin: Events Manager] filtering not working – full/ owner/ category’ is closed to new replies.