Skip to content
On this page

WordPress plugin

Download WordPress plugin

Installing and using wp-dojo-plugin

wp-dojo-plugin is a WordPress plugin for embedding dojo code challenges.

How to add wp-dojo-plugin to your WordPress website
  1. In your WordPress file directory, open the wp-content folder, then open the plugins folder.
  2. Upload/ Add the unzipped plugin folder to the plugins folder
  3. Return to your WordPress dashboard and select Plugins > Installed Plugins Find your new plugin and click Activate.
How to Use wp-dojo-plugin in WordPress

Most plugins that perform simple tasks begin working immediately after installation, but complex plugins with greater functionality may need some configuration from you. In our case, after activating the plugin we must add some settings to work. These settings consist of adding secret data used to encrypt data.

  • Auth Secret KEY→ The secret key used for encryption.
  • Auth Secret IV→ The secret IV used for encryption.
  • Auth Algorithm→ The encryption algorithm used to encrypt data.
  • Challenge Domain URI→ The domain of the challenge server. To add these settings we must follow the following steps:
  1. Select Settings> DojoCode Embed Settings

  2. Fill out these fields and press Save Changes

How to add a challenge using wp-dojo-plugin in WordPress
  1. Select Post→ Add New
  2. To add a challenge we need to use the shortcode. [embed_code_challenge challengeID=""] where: challengeID → The ID of the challenge
  3. Press the Publish button and after go to the created post to see what the added challenge looks like