documentation

Embed to your wordpress website

Download and activate the Plug And Quiz, Embed Quiz, Plug. Play. Quiz. plugin.

πŸ›  Installation Steps


Go to Plugins > Add New on WordPress.

  1. Download and activate the Plug And Quiz, Embed Quiz, Plug. Play. Quiz. plugin. Click on here to download it if you didn't find it and upload it in WordPress.
  2. In Settings > MySolution, enter your Domain ID. Copy domainId
  3. Choose the script position (header or footer). By default, it is set to the header.
  4. Select the modal position (bottom-left, top-left, top-right, bottom-right).
  5. Check Enable script and click Save.

Approach 2: Without Plugin (Manual)

If you do not want to install a plugin, add the script directly to your theme.

πŸ›  Integration Steps

  1. Go to Appearance > Theme File Editor.
  2. Open header.php or footer.php.
  3. Add the following code:
<script src="http://localhost:5000/api/embed/embed.js"  data-domainId="cm95qzois0005ryqly3kyii7o"  data-position="bottom-right"  defer></script>

πŸ“Œ Customization Options

  • Script position: Add it in header.php for fast loading or footer.php for minimal impact.
  • Modal position: Modify data-position (e.g., top-right).

❓ Common Issues

  • The quiz does not display? Check data-domainId.
  • JavaScript error? Check the browser console.
Plug and Quiz