How can I uninstall the Social Media Share Image app for Shopify?
Social Media Share Image app for Shopify
Set custom social share images for all your Shopify products, collections and pages.
Get the app — free 7-day trialTo make social networks show your share image, the app adds a small wrapper around the line in your theme's layout/theme.liquid that outputs the theme's social tags. While the app is active, it hides the theme's copies of the tags the app adds itself (share title, description and, on product, collection, blog post and page pages, the share image). Everything else in your theme is unchanged.
You don't have to do anything when you uninstall. The wrapper switches itself off without the app, so your theme's own share tags come back by themselves within about a day. Nothing breaks.
Before uninstalling (optional)
To switch back immediately and remove the code, open the app, go to Theme status and click Remove theme changes. Then uninstall the app.
After uninstalling: remove the leftover code by hand (optional)
- In Online Store → Themes, click the … (three dots) next to your theme, select Edit code and open layout/theme.liquid.
- Search for
yuhu-smi:begin. Each block starts with{%- comment -%}yuhu-smi:beginand ends withyuhu-smi:end{%- endcomment -%}. - Replace the whole block with the single tag found inside it, between
{%- capture yuhu_smi_head -%}and{%- endcapture -%}, for example{% render 'meta-tags' %}. - Click Save. The code editor keeps earlier versions of the file (the Timeline panel), so you can undo if needed.
Markers left by older app versions
If you can't find yuhu-smi:begin, or you still see one of these, tidy it up the same way:
- A line like
{% comment # uncomment the code if you've uninstalled Yuhu: Social Media Share Image App %}{% render 'meta-tags' %}{% endcomment %}: delete the{% comment # … %}part at its start and the{% endcomment %}at its end, and keep the tag in between. - A block between
{%- # Yuhu: Social Media Share Image App - restored head tagsand{%- # Yuhu: end of restored head tags -%}: delete it, but only after the previous step, otherwise your page titles would show twice. - Very old installs (before mid-2023) have
{% include 'yuhu-smi-social-meta-tags' %}. It keeps working without the app (it outputs basic share tags), so leaving it is fine. If your theme has its own snippets/social-meta-tags.liquid, you can replace it with{% include 'social-meta-tags' %}.
If you'd rather not touch code, contact us and we'll do it for you.
- If you have any questions or need help with the setup, don't hesitate to contact us at support at yuhu apps dot com.
Social Media Share Image app for Shopify
Set custom social share images for all your Shopify products, collections and pages.
Get the app — free 7-day trial