ShowMeLocal installation help

Where to paste your widget code

Copy your code from ShowMeLocal first. To put a question box within a page, choose On a specific page. Add the code only once per page.

WordPress

On WordPress.com, you need a paid plan with hosting features turned on. Free plans remove this code. On other WordPress sites, you need permission to add code.

Across the website: Footer field

  1. Open Plugins > Add New Plugin. Install and activate WPCode - Insert Headers and Footers.
  2. Open Code Snippets > Header & Footer.
  3. Paste your code into Footer, below any existing code.
  4. Click Save Changes. Clear your website cache if you use one.
Already use another tool to add website code?

Use its footer field instead. Do not add the same code in both tools.

On a specific page: Custom HTML block

  1. Open Pages and edit the page.
  2. Click + where you want the widget. Choose Custom HTML.
  3. Click Edit HTML if shown. Paste your code.
  4. Click Publish, Update, or Save.
Official WordPress screenshot showing the Custom HTML block in the block selector
WordPress's Custom HTML block

Test: Open your website outside the editor and try the widget. If you added it across the website, check a second page.

Official instructions: WordPress.com code requirements | Custom HTML block | WPCode Footer field

Wix

Your site must be published with its own connected domain, such as yourbusiness.com. This requires an upgraded Wix plan.

Custom Code: Body - end

  1. In Wix, open Settings > Development & integrations > Custom Code.
  2. Click + Add Custom Code. Paste your code and give it a name.
  3. Under Add Code to Pages, choose All pages and load on each page.
  4. Under Add Code to Pages, choose Choose specific pages. Select your pages.
  5. Under Place Code in, choose Body - end. Click Apply and leave the code enabled.
  6. If you also edited a page, click Publish in the Wix editor.
Using Inline or your own Wix button? These options have not been verified for Business Assistant on Wix. Ask the person who edits your website to check before installing. Choosing a page here does not choose a spot within that page.

Test: Open your website outside Wix and try the widget. Check that it appears only on your chosen pages.

Official instructions: Custom Code | HTML embed limitations

Squarespace

You need Core, Plus, or Advanced, or an older plan that allows this code. Basic does not. Check the plan help below if you use an older plan.

Across the website: Code Injection > Footer

  1. Open Code Injection. Open this panel
  2. Paste your code into Footer, below any existing code.
  3. Click Save.

On a specific page: Code block

  1. Edit the page. Click Add block or + where you want the widget. Choose Code.
  2. Open the block's settings. Set Mode to HTML. Turn Display Source off.
  3. Paste your code and save the page.

For a box within the page, use this Code block, not Page Header Code Injection.

Publish and test: Save the page. When ready to go live, set Site Availability to Public and save. Open your website in a private browser window and try the widget. It may be hidden while you are logged in. It will not work on checkout pages.

Official walkthroughs: Code Injection, plans and video | Code block, plans and video

Shopify

You need access to edit your store's theme. Buy a paid theme before editing its trial version. Starter does not allow custom sections or blocks. These steps do not cover checkout.

Across the website: layout/theme.liquid

  1. Open Online Store > Themes. Duplicate your theme to keep a backup.
  2. On your theme, click ... > Edit code.
  3. Open layout > theme.liquid. Find </body> near the bottom.
  4. Paste your code on a new line just above </body>. Keep the existing code.
  5. Click Save. If this is a draft theme, preview it, then publish it when ready.

After changing your theme, check that the widget still works

On a specific page: Custom Liquid

  1. Open Online Store > Themes > Edit theme.
  2. Select the page template. Click Add section > Custom Liquid, if available.
  3. Paste your code into Custom Liquid. Move it where you want the widget. Click Save.

Several pages may use the same template. For one page only, ask the person who edits your website to give it a separate template. Ask them for help if Custom Liquid is missing.

Test: Open your store outside the editor and try the widget. If you added it across the store, check a second page.

Official guidance: Edit theme code | Theme layouts | Custom Liquid availability | Starter limits

Custom HTML

If someone edits your website for you, send them your code and tell them where you want the widget.

Across the website: shared footer

  1. Open your website's shared footer or page template.
  2. Paste your code just above </body>.
  3. If there is no shared template, add the code to each page that needs it.

On a specific page: inside the page content

  1. Open the page's HTML file.
  2. For an inline box, paste your code where you want the box. For a floating button, paste it just above </body>.
  3. Save and upload the changed file to your website.

HTML placement example

<body>

Your page content

Paste inline widget code at your chosen spot here

Paste floating widget code just before the closing body tag

</body>
Example only - use your own code

Publish and test: Save and upload any changed files. Open your website, reload the page, and try the widget. If you added it across the website, check a second page.