There’s no option to do that automatically, but it’s something that could be done with custom coding.
hello Sr
thanks for your reply
But then we have some problems…..an expired event still maintains status 1(active)
so…if we wanna show only the current events unexpired is not possible.
we wanna do something like this:
<?php
if (class_exists('EM_Events')) {echo EM_Events::output( array(
'limit'=>10,
'orderby'=>'name',
)
if current_user has events unexpired then...
show the word: has events
else
show the word: has no events
);
} ?>
Can you help us please?
thanks!
Here’s a couple plugins that achieve something like you want:
https://wordpress.org/plugins/auto-prune-posts/
https://wordpress.org/plugins/post-expirator/
You could probably dig around in the code of those plugins to see how they do it….
No, these plugins do not work for what I need, and use but for other things. Thank you anyway
sorry but at the moment Im afraid that we can’t help you 100% with this as per the support policy and we don’t have a snippet for this atm.
http://eventsmanagerpro.com/support-policy/