Event Webpages

Introduction #

This user guide discussed the main Events page and the individual event pages, and how they are edited, indexed and displayed. It is assumed that either the u3a administrator or editor has entered all the required information including venues, contacts and group categories, as discussed in the Entering u3a Specific Information user guide.

Events can be displayed on any page using the u3a events list widget or the configurable Shortcode. All events will be listed unless the event is explicitly linked to a specific group during the creation of the event, and the correct selection is made in the Event Settings as discussed here.

Main Event Page #

Event information is normally accessed from Event on the main Navigation Menu. This page is provided within the Starter Site distribution, and on a migrated site. To edit this page, select Pages All PagesEvents from the Dashboard.

A typical top-level event page during editing is shown below, note the inclusion of the yellow widget block :

This will give the following to a visitor to the page:

The text that the visitor sees in the list is sourced from either the main text added when the event was created or a specific excerpt as discussed here. The site visitor can select the blue link to view more information about the event.

Displaying a List of Events #

u3a Widget #

In the example discussed above, the list of events is provided by the u3a event Widget, where the future events will remain listed until the end date has passed, if no length is set, the end date is considered to be equal to the start date, if the duration is set, the end date is the start date plus the event length.

Using the Shortcode #

The use of the widget is the most convenient approach to the development of a page that lists all future events as it can be inserted as a block. However, it is not possible to customise the displayed list and this can be overcome by the use of a configurable shortcode. These have the general form [u3aeventlist option], where option is the parameter that provides the customisation, and is in the form Command Word = “Parameter”. The available options are given below:

For events, the following options can be set:

FunctionCommand WordParameter
Listing future or previous eventswhen†past, future
Determines the number of events to be listedorderasc, desc
Lists events in a specific categorycatall, selected event category
Listing events attached to a groupgroupsy, n
Lists events within a specific number of days from the current datelimitnumAn integer greater than zero
An integer greater than zerolimitdaysAn integer greater than zero
Display formatlayoutsimple list or grid
Grid background colourbackground colour

† The list of events will be headed with Forthcoming Events or Previous Events, depending on the parameter associated with when.


For each event display, all the information added when the event was created is also displayed. In addition, the shortcode option can contain one or more command words with their parameters. If the following two-column layout is created:

Shortcode example

The following is displayed:

The left-hand column shows the default event listing, while the right-hand column displays only two events (limitnum = “2”) in descending order (order = “desc”).

Adding a Specific Event #

Event Details #

Select u3a EventsAdd New Events from the Dashboard, which gives the following:

The screen is divided into two areas:

In the area labelled A, enter the Name of the event (if not included an error will appear), then use the block editor to add any additional information in the normal fashion.

In the area labelled B:

  • Enter the Event Date and Event Category for the event, these fields are mandatory. The event category can be selected from the pull-down menu.
  • In addition, the following optional information can be provided:
    • Start time of the meeting and its duration (in days). If no duration is added, the event is removed from the list following the day of the event, or if the duration is added the event is removed from the list following the completion of the event.
    • Group, if the event is a general meeting leave it blank.
    • Venue and Contact from the associated populated lists.
    • A flag can be set, to indicate if prior booking to attend an event is required.

Optional Text #

Depending on your requirements, the text visible to the site visitor can not only be an extract from the main text entered in A above, but also a specific piece of information. In the Right Sidebar, enter this text in the WRITE AN EXCERPT (OPTIONAL) box, this will overwrite the except from the main text.

Publication #

On completion, select Publish.

As an example, the page for an event of three days duration, linked to a specific group will appear as:

Selecting the links will provide visitors with more information regarding the group, the meeting venue, and the ability to send a message to the event organiser.

Reviewing and Sorting Events. #

From the Dashboard select u3a EventsAll Events, all events are now shown:

Summary information regarding events is contained in A. The number of events created by the current user is identified by Mine. On opening the page, the default sorting is alphabetic over the title. It is possible to sort and filter events by:

  • Next to the Event date, small arrowheads, C, allow sorting either in ascending or descending date order. Similar arrowheads are provided next to the Title heading.
  • To filter events by Categories or Groups, use the filter terms, B. Once the required criteria are set, select Filter. If an event belongs to a Group that is currently in Draft, it is shown in the list, but cannot be used as a filter term.
What are your feelings
Updated on 2024-02-25