Tables Events is a responsive shortcode for displaying events on table easy.
[we_table style="" ids="" ex_ids="" count="" posts_per_page="" cat="" tag="" order="" orderby="" search_sort=""]
- style - Select between default (style="") style 1 (style="1") style 2 (style="2") or Border style (style="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
- show_atc - Choose "Yes" (show_atc="1") or "No" (show_atc="0") to Show add to cart button instead if view details button
- 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
- search_sort - Choose "Yes" (search_sort="1") to show live search & sort
Table Default style
Table Style 1
[we_table style="1"]
Tabel Style 2
[we_table style="2"]
Tabel Style 3
[we_table style="3"]