> For the complete documentation index, see [llms.txt](https://help.productwiz.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.productwiz.io/variant-wizard/manually-disabling-the-insertgalleryplaceholder-function.md).

# Manually disabling the insertGalleryPlaceholder function

1. Navigate to your published theme, click the **"more"** button to access the drop-down menu, and choose **Edit Code**.

<figure><img src="/files/nSB86RmFDQHGR3izdIFr" alt=""><figcaption></figcaption></figure>

2. In the code editor, use the search function on the top left to find `productwiz-rio.liquid` under the **Snippets** section. If this file is absent, your installation uses app embeds; thus, disregard these steps and re-apply the app’s theme integration by following this link: [Re-apply Theme Integration](/variant-wizard/re-apply-theme-integration.md)

<div align="center"><figure><img src="/files/32uWwnBhaVpRNeWaGRZF" alt="" width="188"><figcaption></figcaption></figure></div>

3. Open `productwiz-rio.liquid`. Use Ctrl+F (or Cmd+F on Mac) to find **`function insertGalleryPlaceholder`**. If it's not found, no further action is needed.

<figure><img src="/files/WIPoIiHTQMe0ZRGWJ1eV" alt=""><figcaption></figcaption></figure>

3. If the function is present, insert `insertGalleryPlaceholder = () => {};` on a new line directly below it.

<figure><img src="/files/Q9I6JZrE1XirDaqYyNy9" alt=""><figcaption></figcaption></figure>

4. Save your changes by clicking the **Save** button at the top right.

<figure><img src="/files/y1m6i7KrDSNPtSLdxk22" alt=""><figcaption></figcaption></figure>
