Basic Short-code :
[meetup_events]
You can add the short-code [meetup_events] to any post or page on your site.
Display New Layout :
[meetup_events layout="style2"]
You can display the new layout by adding the [meetup_events layout=”style2″] shortcode to any post or page on your site.
Display layout :
[meetup_events col="2"]
The layout also comes complete with an advanced set of filtering options and these can also be used with the short-code. Above example that looks for events in column 2 .If you don’t put this option in short-code by default it will display in column 3 layout.and maximum column is 4 .
Limit for display events
[meetup_events posts_per_page="12"]
posts_per_page used for number of events you want to show on one page. Above is example posts_per_page=″12″ it will display maximum 12 events.This option is optional.By default it will display 10 events on one page.
Dispaly events based on category
[meetup_events category="cat1"]
If you want to display events based on category then put category=″cat1″ in short-code. Use commas when you want multiple categories like category=″cat1,cat2″ in your short-code
(Note:If category and its slug different then put category slug)
Display Past events
Show outdated(past) events ( events that have already happened).
[meetup_events past_events="yes"]
If you want to display only past events then put past_events=″yes″ in your short-code . If you want to display all events means past and upcoming then use past_events=″yes″ with start and ending date .Here is example that display all events (past events +upcoming events).
[meetup_events past_events="yes" start_date="YYYY-MM-DD" end_date="YYYY-MM-DD"]
Display Events based on order
[meetup_events order="asc"]
order – Order of the events to be shown. Value can be “asc“ or “desc“. Order is based on event date and post title.
Display Events based on orderby
[meetup_events order="asc" orderby="post_title"]
orderby – Order by event date and post title.Here is example to sort events by event date [meetup_events orderby=”event_start_date” ]
Short-code:
[meetup_events col="2" posts_per_page="12" category="cat1,cat2" past_events="yes" order="desc" orderby="post_title" start_date="YYYY-MM-DD" end_date="YYYY-MM-DD"]
Note : Make sure the starting and ending quote("
) are the same in short-code attribute.