Using uploaded content – Add on Post, Page, Lesson, or Quiz.

Estimated reading time: 1 min

GrassBlade xAPI Companion plugin allows you to embed xAPI content on any WordPress page, post, lesson, topic, or quiz.  There are several ways to do it.

  1. Using the same page
  2. Adding via xAPI Content Block
  3. Adding via Metabox
  4. Adding via Shortcode

Let’s find out more about these ways.

1. Using the same page

While adding the content via xAPI Content > Add New, there is a checkbox called: I want to show the content on this page.

When you check this box the current page will be used to show this particular content.

If you want to change gb_xapi_content showing in your content page URL. You can change it from GrassBlade Settings> Content Settings > URL Slug

This way you can show content on the same page, where you uploaded xAPI Content.

2. Adding via xAPI Content Block

In GrassBlade xAPI Companion v2.0, we have added support for Gutenberg blocks and added 3 new blocks.

Step 1: To add content using GrassBlade xAPI Companion blocks, select xAPI Content Block.

Step 2: Now select your xAPI Content from settings panel on the right.

3. Adding via Metabox

xAPI Metabox feature is present for a long time, you can use it to add xAPI Content on any page.

a). In Gutenberg Editor

Step 1: Go to Document > xAPI Content Metabox (present on the right side)
Step 2: Select xAPI Content from Add to Page: dropdown.

b). In Classic Editor

You can find the same xAPI Content Metabox on the top of the right-side panel.

4. Adding via Shortcode

After uploading xAPI Content, on the same page you can see a shortcode in xAPI Content Details section.

You can copy/paste the same code to any page to show that particular content.

Note: Completion tracking doesn’t work if you use shortcode. For completion tracking use xAPI Content Block or Metabox to add content.

You can use any of these methods, but we recommend you to use xAPI Content Block to add content.

We hope you found this info useful. Feel free to get back to us if you need any help. 

Was this article helpful?
Dislike 0 5 of 5 found this article helpful.

Leave a Reply

Your email address will not be published. Required fields are marked *