Embedding it on your website
The “Snap-in code” button gives you two lines that you paste where the photos should appear on your website; for WordPress there is a ready-made Gutenberg block. New photos show up on their own, and the eye on the card switches between draft and visible.
Last updated on
All topics
Two lines #
Ab Tarif Basic Tarife ansehenOpen Snap-in Snap-in code
The “Snap-in code” button shows two lines. Put them where the photos should appear on your website. That is the whole installation.
Those lines fetch the photo list fresh on every visit. Add photos later and they show up on their own; you never need a new snippet.
The same button sits as an icon on every card in the overview.
- Click “Snap-in code” and copy the two lines.
- Put them where the images should sit on your website.
- Publish the page.
Open the published page, not the editor preview. If the images are there, the embedding is done.
WordPress with the block editor #
Ab Tarif Basic Tarife ansehenFor WordPress there is a second button, “Copy Gutenberg block”. It pastes the Snap-in straight into the page without picking a block first. It needs administrator or editor rights, because WordPress strips embedded JavaScript for anyone below that.
Our script does not run inside the editor itself. There you see a labelled box carrying the name of the Snap-in. On the published page the gallery takes its place.
- The spot stays empty on the page, although the box showed in the editor.
- WordPress filters embedded JavaScript out for roles below editor. Insert the block with an account that has administrator or editor rights.
Draft or visible #
Ab Tarif Basic Tarife ansehenA new Snap-in is a draft. While it is one, the spot on your website stays empty even with the code already in place.
The eye on the card switches between visible and draft. Pulling it back works as immediately as publishing: the photos disappear everywhere the Snap-in is embedded.
- Click the eye on the card in the overview.
- The status switches between draft and visible.
- The code is on the website but the spot stays empty.
- Then the Snap-in is still a draft. Make it visible with the eye; the images appear straight away.