Shortcodes filter

On this page:

Description

The Shortcodes filter is a Moodle plugin that converts simple one-line codes into advanced HTML elements. With the Shortcodes filter, you can build complex site layouts more easily - without needing any coding knowledge. This plugin is required for the Page Builder plugin to function properly.

Moodle documentation: Filters.

Installation

To install the Shortcodes filter plugin:

  1. Go to: Site administration > Plugins > Install Plugins.
  2. Upload the plugin .zip file*.
  3. Click the "Install plugin from the ZIP file" button.

* Plugin .zip file names:

  • FILTER_mb2shortcodes-x.x.x_MOODLE-2.7-4.4.zip - for Moodle 2.7 - 4.4
  • FILTER_mb2shortcodes-x.x.x.zip - for Moodle 4.5+

Moodle documentation: Installing plugins.

Activation

To activate the Shortcodes filter plugin:

  1. Go to: Site administration > Plugins > Filters > Manage filters.
  2. Activate the Mb2 Shortcodes filter.
  3. To ensure the plugin works properly, move it to the top of the list - but NOT above the Multimedia plugins.

The Shortcodes FILTER plugin activation

Shortcodes in a child theme

Check how to enable shortcodes in a child theme.