{"id":689,"date":"2016-09-25T15:21:04","date_gmt":"2016-09-25T15:21:04","guid":{"rendered":"https:\/\/wplook.com\/docs\/?p=689"},"modified":"2020-02-15T16:10:04","modified_gmt":"2020-02-15T16:10:04","slug":"displaying-events","status":"publish","type":"post","link":"https:\/\/wplook.com\/docs\/benevolence\/events-benevolence\/displaying-events\/","title":{"rendered":"Displaying Events"},"content":{"rendered":"\n

The Benevolence theme comes with three page templates to display Events<\/strong>.<\/p>\n\n\n\n

\"The<\/a>
The Events: List<\/strong> template.<\/figcaption><\/figure><\/div>\n\n\n\n

By default, the Events: List<\/strong> template displays all the events which are yet to occur in the current month, including an entry for each occurrence of a repeating event. The navigation at the top of the page content has automatically generated buttons for the following two months. When selected, the buttons lead to pages which display all of the events for that month.<\/p>\n\n\n\n

\"The<\/a>
The Events: Past<\/strong> template.<\/figcaption><\/figure><\/div>\n\n\n\n

The Events: Past<\/strong> template works in a similar manner to the Events: List<\/strong> template. By default, it displays all of the events which have already occurred in the current month. It also features buttons for the previous two months, and a dropdown for the previous six months before that.<\/p>\n\n\n\n

\"\"<\/a>
The Events: Calendar<\/strong> template.<\/figcaption><\/figure><\/div>\n\n\n\n

The Events: Calendar<\/strong> template displays both current and previous events in a monthly, weekly or daily calendar. The event colours can be changed in Event Options<\/a>.<\/p>\n\n\n\n

Setting Up an Events Page<\/h3>\n\n\n\n

To display events using any of these templates, first create a new page by selecting Pages<\/strong> \u2192 Add New<\/strong> from the main menu. You can name this page whatever you like, give it a header image, etc.<\/p>\n\n\n\n

\"\"<\/a>
The Add New Page<\/strong> screen, with the Template<\/strong> field highlighted.<\/figcaption><\/figure><\/div>\n\n\n\n

Importantly, select either Events: List<\/strong>, Events: Past<\/strong> or Events: Calendar<\/strong> from the Template<\/strong> section of the Page Attributes<\/strong> box. Save the page. Your events will now be displayed on that page.<\/p>\n\n\n\n

Add the page to a menu using Appearance<\/strong> \u2192 Menus<\/strong>, or link to it from elsewhere on your site, to make your events page accessible to users.<\/p>\n\n\n\n

Events Display Options<\/h2>\n\n\n\n

Both the Events<\/strong>: List<\/strong> and Events: Past<\/strong> page templates include additional options for customising how the events on these pages are displayed.<\/p>\n\n\n\n