Documentation, Reference Materials and Tutorials for Envira Gallery
Do you need some help on how to use Envira with Gutenberg? You’ve come to the right place! This is easily done with a few short steps. We’ll walk you through each of these steps on how to use Envira Gallery and WordPress’ Gutenberg together.
Step 1 – Create a new gallery
Your first step is to create a new gallery. You can follow along with our documentation for creating your first gallery.
Step 2 – Publish your gallery
Click Publish to publish the gallery so that you can create a shortcode for this gallery. You’ll need that for the next step.
Step 3 – Create a new page or post
From your WordPress dashboard, create a new page or post.
For this example, we’re going to create a new post. Give your post a title and click the + icon to add a new Gutenberg Common block.
Step 4 – Add a Gutenberg Common block
Once you’ve clicked the + icon, select Common Blocks and select the Envira Block.
You can either choose a gallery from the dropdown or type out the slider name to do a smart search. Once you select the gallery from the dropdown, it’s automatically added to the block.
Step 5 – Paste your gallery shortcode
Once you’ve added the Shortcode block, just paste the Envira gallery shortcode into that area.
Step 5 – Publish or Update your page or post
Finally, when you’ve added all your galleries or content, click the Publish button in the top right corner to publish the page or post.
And that’s it! You’ve now just added an Envira Gallery to your Gutenberg page.
Would you like to learn about other page builders and Envira. Take a look at our article on Using Envira Galleries and Page Builder Tabbed Content.
Is this the only way to use Envira and Gutenberg together?
A: You can of course choose to use the Shortcode Block located under the Widgets section in Gutenberg.
When using dynamic shortcode, you’ll still need to use the Shortcode block when adding a slider to your pages.
To find the Shortcode Block, click the + sign and from the Widgets section, select Shortcode.
Will this work for albums too?
A: Using the Shortcode block is the only way currently to add an Envira Album to your Gutenberg page.