Everything tagged: shortcodes

Display team news

Task

Use the teamnews shortcode to show the latest team news from one or more news groups on any page, as cards with images or as…

Display a list of upcoming events

Task

Use the listevents shortcode to show the next few events as compact cards with the date, title, time and optionally the location, filtered by event…

Display a grid of linked cards

Task

Use the cardgrid shortcode to build a tidy grid of clickable tiles, each with a label, a link and an optional image, without any table…

Add accordions to blocks of content

Task

Use the expand shortcode to turn blocks of content into accordions, with up to three nested levels inside an expand block using expandsub1 to expandsub3.

Add to calendar button

Task

Shortcode that makes the “Add to calendar” button appear in content, e.g. news or blog posts. Supply the post ID of the event in the…

Display a list of hierarchical pages

Task

Use the pagetree shortcode to show every page beneath a parent page as a nested, linked list, or id="0" for a sitemap of every page.

Display a list of users by tag

Task

Admins can select tags for users in their profiles, so that users can be grouped. This is typically used for groups such as First Aiders,…

Display a list of posts by content type and tag

Task

Use the shorttags shortcode to list the latest items of one content type that carry a tag, with an order that suits the type.

Display a list of posts

Task

Use the listposts shortcode to show the latest news, news updates, blog posts or upcoming events as a simple linked list, filtered by category or…

Display a list of users by team or an individual user

Task

Use the people shortcode to show staff cards for one person, by ID or email address, or for everyone in a team, with an optional…