NearlyNubile
Member
Posted 1 year ago #
Hi. I quite like the look of the plugin.
Question: We need to show our stuff in a slightly different form on the front page. Because this is a "custom post type", I don't know the code I need to use to show the fields. Could you please help?
I want to show the 3 latest upcoming events on the home page. In pseudocode this can be represented like this:
WHERE date > today
order by date
limit 3
How should I do a wp_query() SQL like this?
Thanks!
http://wordpress.org/extend/plugins/events-manager/
agelonwl
Member
Posted 1 year ago #
you can use a shortcode [events_list] as stated here http://wp-events-plugin.com/documentation/shortcodes/ and use a search attribute e.g. order as stated here http://wp-events-plugin.com/documentation/event-search-attributes/ OR you can also use events widget
You can use WP_Query, but there are shortcodes etc. that you can use too as stated by angelonwl.