Event Webpages

Introduction #

This user guide discusses the main Events page and the individual event pages, and how they are edited, indexed and displayed. It is assumed that the u3a’s Administrator or Editor(s) have 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 Shortcode. All events will be listed unless the event is explicitly linked to a specific group during its creation, and the correct selection is made in the Event Settings as discussed here.

Main Event Page #

Event information is normally accessed using Event from 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. Depending on the individual u3a preferences, the page can be renamed, e.g. Whats On.

A typical top-level event page during editing is shown below, note the inclusion of the u3a events list block (note the background colour of the Widget may change as various options are selected) :

The above will give the following to a visitor to the page. The event listing is configured as a grid with a white background.

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 #

As discussed above, the list of events is provided by the u3a event Widget, where the future events will remain listed until the event date has passed. To enhance the Website the u3a events list is configurable, under three main options: Sort and Filter, Limits, and Layout Choices. To access the option, select the Widget, and the option will be visible in the righthand toolbar.

Sort and Filter Options

Limit Options

Layout Choices

The opinions available are as follows:

    • When: Previous and Future events can be listed.
    • Order: In Ascending or Descending date order.
    • Categories: Events relating to All categories or just one can be listed.
    • Show group events: If the Widget is used on a specific group page, only events relating to that group can be displayed.
    • Limit Number of Entries: limits the length of the list of events – the number entered must be positive and greater than one.
    • Limit Number of Days: Only displays events that are a specified number of days in the past or future. The maximum selectable value is 90. This feature overrides the limit on the number of entries.
    • The events can be presented as a simple list. 0r a Grid with the featured image. If the grid option is selected the following additional options are available:
      • The image can be cropped to make the grid symmetrical.
      • The Background colour can be selected. It should be noted that the Widget background colour, will be changed to the grid background colour.
    • Show Title: When selected the basic Widget title (either Previous Events or Future Events are shown depending on the When option). When deselected a content creator can add a specific title using the WordPress Header Block, the H3 size should be selected to maintain the appearance.

Using the Shortcode #

The widget is the most convenient approach to providing a list of all future events as it can be inserted as a block. However, it is currently not possible to customise the displayed list, using a configurable shortcode can overcome this. This has the general form of [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 eventswhenpast, 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 a specific number of eventslimitnumAn integer greater than zero
Lists events within a specific number of days from the current datelimitdaysAn integer greater than zero

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

If no configuration options are set, the information added when the event was created is displayed. The shortcode option can contain one or more command words with their parameters to modify the display. For example, the following two-column layout is created using two shortcodes:

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 in the list of events can either be an extract from the main text entered in section A, normally the first 55 words or a short piece of additional text. This text can be added using the WRITE AN EXCERPT (OPTIONAL) box, this will overwrite the except extracted from the main text.

It should be noted that both the short extract and the excerpt must not contain any embedded information, hence they must not include links or shortcodes.

Publication #

On completion, select Publish.

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 shown after Mine (in this case three). On opening the page, the default sorting is alphabetic over the title. It is possible to sort and filter events by:

  • 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 currently in Draft, it is shown in the list, but cannot be used as a filter term.
  • Next to the Event date, small arrowheads, C, allow sorting in ascending or descending date order. Similar arrowheads are provided next to the Title heading.

Editing Contacts from the Event page #

When logged in as a user with permission to edit a contact, an edit icon will appear next to a contact. On selecting, the user is directed to the contact’s page, allowing the information to be edited.

What are your feelings
Updated on 26/05/2024