Page Builders
Overview
Socialphotos works with most Shopify page builders. The goal is the same: add a Socialphotos gallery element to your page so Shopify can render it inside your storefront.
In most cases, you can embed galleries with a no-code Socialphotos element inside the page builder. If your page builder does not support app elements for your theme, you can use a simple HTML embed as a fallback.
Note: Socialphotos galleries only render inside a Shopify storefront where the app is installed. We do not provide a standalone script for non-Shopify sites.
PageFly
PageFly supports embedding Socialphotos galleries directly in your PageFly layouts.
UGC Page Gallery
- Start on your Page Builder's theme editor.
- Click on Add Section and select HTML/Liquid.
- Click Open Code Editor
-
Copy the following code:
<div class="socialphotos-com-gallery slpht-clearfix" data-id="Gallery ID"></div> - Enter the code for your gallery
- Click Save & Close
- Save your changes and publish
- Check it on your website.
If you don't see your Page Gallery, contact us for help.
UGC Product Gallery
- Start on your Page Builder's theme editor.
- Click on Add Section and select HTML/Liquid.
- Click Open Code Editor
-
Copy the following code:
<div class="socialphotos-com-gallery slpht-clearfix" data-uid="shopify-domain.myshopify.com"></div> - Enter the code for your gallery
- Click Save & Close
- Save your changes and publish
- Check it on your website.
GemPages
This video shows how to embed Socialphotos galleries in GemPages.
Other page builders (Shogun, etc.)
Many page builders work the same way:
- Open the page builder editor for the page you want to edit.
- Add an App / App block / App element if available.
- Select the Socialphotos gallery element and configure it (for example by choosing a gallery or entering the gallery ID).
- Publish the page and refresh your storefront.
If your builder does not support app elements, use the manual embed fallback:
- In Socialphotos, open a Page Gallery and copy the gallery ID.
- In your page builder, add a Custom HTML element.
- Paste the code below, replacing
GALLERY_IDwith your gallery ID:
<div class="socialphotos-com-gallery slpht-clearfix" data-id="GALLERY_ID"></div>
If the gallery still does not appear, your theme may be blocking app scripts or the page builder may be rendering outside the storefront context. In that case, try embedding using Shopify’s theme editor instead. See Shopify Themes.