Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Table of Contents
excludeclass
maxLevel6
minLevel1
maxLevelinclude2
outlinefalseindent
styledefault
typelist
printabletrue

WordPress

1. Access Your WordPress Admin Dashboard

...

1. Embed the Widget in the Website's HTML Code

Access the Theme Code:

  1. Log in to your Shopify Admin at http://shopify.com .

  2. Navigate to Online Store > Themes > Actions > Edit Code.

    image-20250116-130209.png

Modify the Theme File:

  1. In the code editor, open the theme.liquid file located under the Layout section.

  2. Decide where you want the widget to appear:

    Paste the widget code inside the <body> element.

    For example, you can place the widget code near the closing </body> tag to include it in a consistent location across your site.

Save and Preview:

  1. Click the Save button to apply your changes.

  2. Use the Preview Store button to check how the widget appears on your site.

    image-20250116-130252.png

...

Embed the Widget in the Home, Product, or Collection Page

Access the Theme Customizer:

  1. Navigate to Online Store > Themes > Customize.

    image-20250116-130328.png

Select the Page Type:

  1. From the Customizer menu, choose the page type you want to edit:

    • Home Page

    • Product Pages

    • Collection Pages

      image-20250116-130420.png

Add a Custom Section:

  1. Locate the area where you want the widget to appear (e.g., Header, Template, or Footer).

  2. Click Add Section and select Custom Liquid.

Embed the Widget Code:

  1. Paste the widget code into the Liquid Code field.

  2. Click Save to apply the changes.

    image-20250116-130818.png

...