WordPress Plugin

Embedding Algebrakit in WordPress

You can embed interactive Algebrakit exercises into any WordPress page or post using the official Algebrakit plugin. The plugin supports two integration methods, depending on your WordPress setup:

  1. Gutenberg Block Editor – Recommended for WordPress 5.0 and higher.
  2. Shortcode – Works in any WordPress version that supports shortcodes.

Installation Guide

You’ll need permission to install plugins. If you're not an admin, ask someone with the correct privileges to follow these steps.

Steps

  1. Download the plugin from the GitHub repository:
    Algebrakit WordPress Plugin

  2. Follow the official WordPress guide for plugin installation. Automatic installation is not supported. Use the instructions under:

  3. Once installed, activate the plugin via the WordPress Plugins menu.

  4. Open the Algebrakit settings page (found under the Settings menu in WordPress) and paste your API key into the input field.

    The Algebrakit settings page


Using the Gutenberg Block Editor

If you’re using the Gutenberg block editor (WordPress 5.0+):

  1. Create or edit a page.

  2. Add a new block of type Algebrakit.

  3. Enter your Exercise ID. (You can leave the Major Version field blank.)

    The Algebrakit Exercise Block

  4. Save and preview the page. Your Algebrakit exercise should render automatically.


Using the Algebrakit Shortcode

For classic WordPress editors or custom use cases, you can embed exercises using a shortcode:

Syntax

[akit-exercise exercise-id="..." version="..." solution-mode="..."][/akit-exercise]
Attribute Description
exercise-id (Required) – The unique ID of the exercise
version (Optional) – The major version number of the exercise
solution-mode (Optional) – Set to "true" to display the solution

Example

[akit-exercise exercise-id="9e5aa8cd-1426-4845-88d6-459d3942ca75"][/akit-exercise]

This will embed the specified Algebrakit exercise into the page.


Need Help?

Refer to the Algebrakit Authoring Documentation for details on creating exercises.

For plugin issues or support, contact us.