Grid Events is a responsive shortcode for displaying events on grid easy.
[we_grid style="" columns="" ids="" ex_ids="" count="" posts_per_page="" cat="" tag="" order="" orderby=""]
- style - Select between modern (style="") or classic (style="classic")
- columns - Select number of columns from 1 > 5, example: columns="3"
- ids - List of IDs to query, separated by a comma
- ex_ids - Exclude List post IDs to retrieve, separated by a comma
- count - Total number of items to show. Default 6
- posts_per_page - Number of items per page
- cat - List of category ids (or slug), separated by a comma
- tag - List of tag ids (or slug), separated by a comma
- order - Order ascending or descending (select ASC or DESC)
- orderby - Choose order condition
- 'date' - Order by date.
- 'ID' - Order by post id. Note the captialization.
- 'author' - Order by author.
- 'title' - Order by title.
- 'name' - Order by post name (post slug).
- 'name' - Order by post name (post slug).
- 'modified' - Order by last modified date.
- 'parent' - Order by post/page parent id.
- 'rand' - Random order.
- 'meta_value' - Note that a 'meta_key=keyname' must also be present in the query. Note also that the sorting will be alphabetical which is fine for strings (i.e. words), but can be unexpected for numbers (e.g. 1, 3, 34, 4, 56, 6, etc, rather than 1, 3, 4, 6, 34, 56 as you might naturally expect). Use 'meta_value_num' instead for numeric values.
- 'meta_value_num' - Order by numeric meta value (available with Version 2.8). Also note that a 'meta_key=keyname' must also be present in the query. This value allows for numerical sorting as noted above in 'meta_value'.
- 'post__in' - Preserve post ID order given in the ids array
- 'upcoming' - Display the upcoming Events based on Start Date. Arranged by chronological order of the upcoming events
- 'ontoup' - Display the ongoing and upcoming Events based on Start Date.
- 'past' - Display the Past Events based on Start Date. Arranged by chronological order of the Past events
- 'day' - Display the Events of current day
- 'week' - Display the Events of current week
- 'month' - Display the Events of current month
- 'year' - Display the Events of current year
- 'none' - No order
- 'has_signed_up' - Has signed up
- 'has_submited' - Has Submited
- number_excerpt - Number of excerpt to show
- show_time - Choose "Yes" (show_time="1") or "No" (show_time="0") to Show time on date
- featured - Choose "Yes" (featured="1") to query only featured event
- meta_key - Enter Custom field key
Grid 2 columns
[we_grid columns="2"]
Grid 3 columns
[we_grid columns="3"]
Grid 4 columns
[we_grid columns="4"]