Department Events
The department events block allows you to add events to your website without having to list them on https://events.wfu.edu. This will then allow you to pull them in to a block on any of your pages.
Detailed instructions on adding blocks can be found on Building a Page.
Block Settings
Block Title: The block title will add a H2 title to the top of the department events block. You can name this whatever you would like.
Number of Events: The number of events to include in the block. Defaults to 5, and must be at least 1.


See All and the Events Archive
When the block has at least one event showing, it displays a See All button linking to the events archive at /upcoming-events/. The button is hidden when the block has nothing to show.
That archive lists every department event on your site that is currently within its publish and removal dates, not only the number you chose to show in the block.
Adding an Event
Before an event can be added to the block, it must first be added as a custom post type on the back-end of the website. You can find the Event custom post type on the left sidebar of the back-end of your site.
Simply click on “Department Events” and then “Add New Department Event“

This will take you to the Edit Department Event page.
Title: The title of the event.
Date to publish to website: The date that the event will appear if added to the department events block.
Date to remove from website: The date that the event will be removed from the front-end of the website if it is added to the department events block.
Department event start date: The date/time that the event begins. This date sorts the events in the block and on the archive page.
Date Display: The date that will appear on the front end. This date can be any text you like. Example: “Tomorrow”.
Department Event Image: An optional image to display for the event.
Description: Any additional information about your event that you want to appear on the details page of the event. Note: This information will not appear in the department events block!
For More Information: An open text box that will allow you to set who the contact is for this event.
Widget Link Type: Select what type of destination the item should go to from the widget. Choose Detail Page to send visitors to the event’s own page, Internal Page to send them to another page on your site, or External Page to send them to another website.
Internal Page Selection: Appears when Widget Link Type is set to Internal Page. Choose the page on your site the event should link to.
External Page Selection: Appears when Widget Link Type is set to External Page. Enter the full URL the event should link to.

Once everything has been added, click “Update” to save your event and add it to your block.
Example
Upcoming Events
Wednesday @ High Noon!
February 16, 2022 | 3:30pm ET | ZSR Library Auditorium
