# Add Game on Wordpress

### ✅  **Method 1: Using an iFrame (Direct Embed into Page)**

**🔹 Step 1: Copy your iFrame Game Code, which you get on publishing the Game**

* Go to your PlayZo game.
* Click on the **Publish** option.
* Copy the full **iframe code**&#x20;

***

**🔹 Step 2: Log in to WordPress**

* Log in to your WordPress admin dashboard.

***

**🔹 Step 3: Open the  Page or Post Where You Want to Embed**

* Go to **Pages** or **Posts** from the left menu.
* Click **Edit** on the page/post where you want the game to appear.
* Or create a new page/post.

***

**🔹 Step 4: Switch to “Code” or “HTML” Mode**

Depending on your editor:

**➡️ Using Block Editor (Gutenberg):**

1. Click the **‘+’** to add a new block.
2. Search for and select the **‘Custom HTML’** block.
3. Paste your iframe code inside that block.

**➡️ Using Classic Editor:**

1. Click the **‘Text’** tab (next to Visual).
2. Paste the iframe code where you want it to appear.

***

**🔹 Step 5: Update or Publish the Page**

* Click **‘Update’** or **‘Publish’** to save your changes.

***

**🔹 Step 6: Preview It**

* Open the page to confirm your game appears and works properly.

### ✅  **Method 2: Embedding Game URL in a Banner or Button**

If you prefer to **link to the game** instead of embedding it directly, you can use the **game URL** inside a banner, button, or image.

**Step 1: Copy the Game URL**

* From PlayZo, copy the direct link to your game (e.g., `https://playzo.io/game/yourgameid`).

**Step 2: Add a Button, Image, or Banner**

* In your WordPress page editor, insert a **button block**, **image**, or **banner section** using your page builder or theme tools.

**Step 3: Link It to the Game URL**

* Set the button or image to link to your game URL.
* You can choose to **open it in a new tab** for a smoother user experience.

> Example: Add a "Play Now" button and set the link to your game URL. When users click it, the game opens in a new tab.

***

Both approaches work well — use iFrame if you want the game playable right on your site, or URL link for a lighter, cleaner integration.

Let me know your WordPress theme or page builder (like Elementor, Divi, etc.) if you'd like tailored instructions!

✅ That’s it! Your PlayZo game should now be live on your WordPress site.
