1. Home
  2. Facebook Events (XT Widget for Social Events)
  3. Classic Grid Shortcode – Display Events on a Page

Classic Grid Shortcode – Display Events on a Page

This guide covers the classic Grid View shortcode, available in the Pro version, for users on the OAuth-based Classic display method. If you don’t need Facebook App setup, the Live Feed is a simpler alternative with its own grid layout.

Step 1: In WordPress admin, go to Pages > Add New.

Step 2: Add a Shortcode block (or paste directly in the Classic Editor) with:

[wpfb_events page_id="YOUR_OWN_FACEBOOK_PAGE_ID" col="2" max_events="10"]

Step 3: Publish the page.

Shortcode attributes

AttributeDescription
page_idYour Facebook Page ID from which to pull events.
colNumber of columns per row (up to 4). Defaults to 3 if omitted.
max_eventsMaximum number of events to display. Optional.

Note: make sure the quotation marks you use in the shortcode are plain straight quotes ("), not smart/curly quotes — WordPress sometimes auto-converts them if typed directly in certain editors.

Was this article helpful to you? Yes No 2

How can we help?