> ## Documentation Index
> Fetch the complete documentation index at: https://www.twicecommerce.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# How to embed the TWICE store with a shortcode

> Place your TWICE 1.0 store on a WordPress page with the twice_commerce_shop shortcode, in the Classic Editor or a page builder.

> [!WARNING]
>
> **The TWICE plugin for WordPress runs on TWICE 1.0.** TWICE 1.0 is the earlier version of TWICE Commerce, and it does not support every feature these docs describe. Use the [online store](https://www.twicecommerce.com/docs/guides/sales-channels/set-up-the-online-store.md) on the current version instead. It does not embed in another site.

Use the shortcode when the page is not built in the block editor, such as a page in the **Classic Editor**. [TWICE plugin for WordPress](https://www.twicecommerce.com/docs/concepts/sales-channels/twice-plugin-for-wordpress.md) lists every attribute the shortcode takes.

## Prerequisites

> [!NOTE]
>
> **Have ready before you start:**
>
> * **The TWICE plugin installed and active.** See [Install the TWICE plugin on WordPress](https://www.twicecommerce.com/docs/guides/sales-channels/install-the-twice-plugin-on-wordpress.md).
> * **Your shop name**, the **Twice domain path** under **Account → Domains → Urls** in the TWICE 1.0 admin.

## The walkthrough

**1. Open the page**

In the WordPress dashboard, open the page that will hold your store. The page editor opens.

**2. Insert a shortcode block**

In the block editor, click **+**, search for `Shortcode` and insert it. In the **Classic Editor**, place the cursor where the store goes instead.

**3. Enter the shortcode**

Enter `[twice_commerce_shop shop="businessname"]`, with your shop name in place of `businessname`. Click **Publish** or **Update**.

**4. View the page**

Open the published page. The shortcode is replaced by your TWICE store.

## How do I know it worked?

The published page shows your TWICE store where you placed the shortcode, not the shortcode text.

## Troubleshooting / common pitfalls

> [accordion] The page shows the shortcode as text
>
> The TWICE plugin is not active. Activate it under **Plugins**. See [Install the TWICE plugin on WordPress](https://www.twicecommerce.com/docs/guides/sales-channels/install-the-twice-plugin-on-wordpress.md).

> [accordion] The page shows no store
>
> The plugin, WordPress, Elementor or your theme can each be the cause. See the FAQ on [TWICE plugin for WordPress](https://www.twicecommerce.com/docs/concepts/sales-channels/twice-plugin-for-wordpress.md).

## Related articles

> [card] [TWICE plugin for WordPress](https://www.twicecommerce.com/docs/concepts/sales-channels/twice-plugin-for-wordpress.md)
>
> How the plugin works, its settings and where to find each value.

> [card] [Show one category on a WordPress page](https://www.twicecommerce.com/docs/guides/sales-channels/show-one-category-on-wordpress.md)
>
> Narrow the embedded store to one category, product or location.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.