wpmanager007
Forum Replies Created
-
Hi @saferiol
Thank you for your message.Yes, to display the newest events first based on the event start date, you can use the following code:
phpCopy
function custom_order_events_by_start_date( $query_args ) {
$query_args[‘orderby’] = ‘meta_value’;
$query_args[‘order’] = ‘DESC’; // Use ‘DESC’ if you want newest first (based on _event_start_date)
$query_args[‘meta_key’] = ‘_event_start_date’;
return $query_args;
}
add_filter( ‘get_event_listings_query_args’, ‘custom_order_events_by_start_date’, 99 );Please add this to your theme’s
functions.phpfile.Best Regards,
WP Event Manager Support Teamhello
@saferiol The reported vulnerability issue has been fully resolved in our latest version.
Please update the plugin to the latest version to ensure everything works smoothly and securely.Best Regards,
WP Event Manager Support Team.Hello,
@mkmevans Thank you for the update. We’ve looked into the issue from our end and can confirm that the issue has been resolved. We will be releasing the update shortly.
Regards,
WP Event Manager- This reply was modified 11 months, 2 weeks ago by wpmanager007.
Hi Dave,
Thanks for bringing this to our attention.
Yes, we’re aware of the security vulnerability in version 3.1.48 reported by Wordfence. Our team is actively working on a fix and will release an update as soon as possible. In the meantime, we recommend using the plugin only in staging environments and avoiding any sensitive data.
We appreciate your patience.
Best,
WP Event Manager Support Team