Top of page

Localist Shortcode

This shortcode ties into events.wfu.edu our localist events website and displays events based on the attributes on the shortcode. Many of our websites use this plugin to display events related to the content of that website. We also offer our University Events block for a more integrated look and feel.

UPDATE: Looks like the natural display for each of these seems off in our new theme. We should check to make sure all the css is being loaded for these and that there isn’t any non-secure styles/scripts. Also images are broken in the API shortcode so we probably need to ensure we are using https for these.

Shortcode: Localist Widget

The Localist widget shortcode ties into the basic widget building functionality localist provides. It comes wrapped with html and has very little ability to change the html structure.

Shortcode

[ wfu_localist_widget num=10 days=30 ]

Shortcode Output

Shortcode: Localist API

The Localist API shortcode has more parameters and can return a more custom set of events returned in json format allowing the html display of the events to be controlled on our end.

Shortcode

[ wfu_localist_api pp=10 days=30 ] or [ wfu_localist_api num=10 days=30 ]

Shortcode Output