The power and flexability of Guides really shows when you want to embed any type of content onto your site.
The default out of the box functionality is to embed an entire guide, but with a simple tweak to the embed code you can easily embed a single article, category, or collection to your site.
Note: You can only use one content ID per embed code. To embed more than one you should copy the code multiple times and change the ID depending on use.
Embed a collection
1. Find the collection ID
- Go to the page where Guides is installed on your site
- Browse to a collection you want to use
- Copy the collection ID in the URL of the address bar in your browser
2. Add the collection ID to the embed code on your page
Add the following code after the el
line in the embed code:
collection_id : COLLECTION_ID_HERE,
Embed a category
1. Find the category ID
- Go to the page where Guides is installed on your site
- Browse to a category you want to use
- Copy the category ID in the URL of the address bar in your browser
2. Add the category ID to the embed code
Add the following code after the el
line in the embed code:
category_id : CATEGORY_ID_HERE,
Embed an article
1. Find the article ID
- Go to the page where Guides is installed on your site
- Browse to an article you want to use
- Copy the article ID in the URL of the address bar in your browser
2. Add the article ID the embed code
Add the following code after the el
line in the embed code:
article_id : ARTICLE_ID_HERE,