All Collections
Getting Started
Next Steps
How to re-use content using Shogun's Snippets
How to re-use content using Shogun's Snippets

Snippets allow you to easily re-use an element, section, or even an entire page. You can re-use Snippets across your other Shogun pages.

Updated over a week ago

Table of Contents

Feature Introduction

Snippets are a great way to make re-usable blocks of your custom Shogun content that you can use on your Shogun pages. This cuts down development time dramatically as you do not need to create the same blocks, or style the same elements over and over again.

Merchants subscribed under our Grow and Advanced plans can make use of 'Global Snippets,' a feature that enables you to take any snippet and deploy it across many pages. You can find out more about this here:

How to create a snippet

Snippets are a feature designed to create a more efficient workflow when building content.

  1. Select an element that is containing your content, such as a Container, Columns, or Product Box element.

  2. Click the 'Create Snippet' button in the inline menu.

  3. Give your Snippet a name.

  4. Click the Create Snippet button.

A screen recording that shows how to create a Snippet in Shogun Page Builder

A Snippet can also be created using the Create Snippet icon at the top the right sidebar:

A image of the sidebar button that is used to create snippets in Shogun Page Builder

How to use a Snippet

Snippets are as easy to use as any other Shogun element. You can find these in the Snippets section of the editor's sidebar. Simply drag a Snippet from the sidebar into the page. All of your copied elements will appear on the page.

A screen recording that shows how to use a Snippet in Shogun Page Builder

How to delete a Snippet

Sometimes, you may need to delete a Snippet from your library, and it's super simple to do! Click the 3-dot icon next to the Snippet's name and select the Delete option.

An image that shows how to delete a Snippet in Shogun Page Builder

Note: Currently, Snippets are not available for elements that are within a Product Box. You can refer to the Layout panel on the right side of the editor to see whether this applies to your elements. We will be incorporating more Snippet flexibility for these product-based elements soon. In the meantime, it is possible to make a Snippet of the Product Box itself.

Did this answer your question?