1. Home
  2. Facebook Events (XT Widget for Social Events)
  3. Shortcodes

Shortcodes

XT Widget for Social Events plugin Shortcode is given below

Due to recent Facebook API changes, the plugin does not display the events you marked as interested. You can display the event using your Facebook page ID.

Grid View Shortcode:[wpfb_events page_id="YOUR_OWN_FACEBOOK_PAGE_ID" col="3" max_events="10"]

Basic Shortcode :

You can add the shortcode [wpfb_events page_id="YOUR_OWN_FACEBOOK_PAGE_ID"]to any post or page on your site.

page_id=”YOUR_OWN_FACEBOOK_PAGE_ID”: You have your own page ID from which you want to get the event and display it on your website.

Display layout:

[wpfb_events page_id="YOUR_OWN_FACEBOOK_PAGE_ID" col="3"]

The layout also comes complete with an advanced set of filtering options and these can also be used with the shortcode. Above example that looks for events in column 2 .If you don’t put this option in shortcode by default it will display in column 3 layout.and maximum column is 4 .

Limit for display events

[wpfb_events page_id="YOUR_OWN_FACEBOOK_PAGE_ID" max_events="15"]

max_events=″15″: It wil display maximum 15 event in your website .If you want to display maximum number of event on your website it will be needed otherwise this is not require in Sortcode.

Display all events

[wpfb_events page_id="me"]

page_id=″me″: It will display all event on your make interested event on your website.

Shortcode:

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

Note:Make sure starting and ending quote(") are same in shortcode attribute.

Was this article helpful to you? Yes No 2

How can we help?