Good Morning,
We’ve installed this great plugin but would like to wrap the way the events are loaded into the Bootstrap Framework and use the carousel
As such, we’d like to use the WordPress Loop, like so:
$events = new WP_Query(array(
'post_type' => 'events',
'order' => 'DESC',
'posts_per_page' => 12
));
As you can see, I’ve tried using the post type events, however, this doesn’t work.
Are you able to advise if this is firstly possible and if so, what the correct code would be?
I assume we can then return elements such as title, date, link and image?
Thanks for your time and assistance.
Regards,
Ian