> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://support.getomnify.com/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# How to Setup Widgets

## Overview
Widgets allow you to **embed your Omnify service store directly on your website**.
Instead of sending customers to a separate booking page, you can:
* Show services on your website
* Allow bookings directly
* Control what customers see
👉 Examples:
* Programs page on your website
* Birthday party booking page
* Camps & events section

## Where to Find Widgets
1. Go to **Settings**
2. Click **Widgets**
You’ll see:
* Active widgets
* Option to **Create Widget**
* Option to **Create WordPress Widget**

# 🔹 What Widgets Do
Each widget is an **iframe (embed code)** that you can place on your website.
From your setup:
* Programs widget
* Birthday Party widget
* Camps & Events widget
👉 Each widget shows **different services on different pages**

# 🔹 Step-by-Step: Create a Widget
## Step 1: Click “Create Widget”

## Step 2: Add Widget Details
### 1. Iframe Name
* Internal name (for your reference)
👉 Example: Programs, Camps, Birthday Party

### 2. Select Widget Type
Options include:
* **Home Page** → Shows list of services
* **Details Page** → Shows specific service details
📌 Example:
* Programs → Home Page
* Birthday Party → Details Page

### 3. Set Width
* Typically: **100%**

# 🔹 Step 3: Customize Display
You can control what appears in the widget:
* Show Header
* Show Secondary Header
* Show Footer
* Show Hero Image
* Show Filters
👉 Turn OFF unnecessary elements for a cleaner embed

# 🔹 Step 4: Use Pre-Filtered View (Very Important)
This is the most powerful feature.
When enabled:
* You can control **exactly what services appear**

## Filter Options
### Filter By:
* Services
* Trainer

### Service View:
* Selected Services
* All Services

### Select Services
Choose specific services to show
📌 Example from your setup:
* Programs widget → shows only selected programs
* Camps widget → shows only camps + events
* Party widget → shows only birthday party


# 🔹 Step 5: Generate Code
On the right side:
* Copy the **iframe embed code**
* Paste it on your website
👉 This is how the widget appears on your site

# 🔹 Step 6: Preview
You can preview how the widget will look before publishing.

# 🔍 Real Examples 
## Programs Widget
* Type: Home Page
* Shows multiple programs
* Includes filters

## Birthday Party Widget
* Type: Details Page
* Shows packages for one service

## Camps & Events Widget
* Type: Home Page
* Shows selected camps/events

| 💡 Best Practices
## 1. Create Separate Widgets for Each Page
* Programs page
* Camps page
* Parties page
👉 Don’t mix everything in one widget

## 2. Always Use Pre-Filter
* Avoid showing all services
* Keep pages focused

## 3. Keep UI Clean
* Hide header/footer if embedding inside your site
* Match your website design

## 4. Use Clear Naming
* Helps manage multiple widgets

||| 🚫 Common Mistakes
* Not using filters → shows everything
* Using wrong widget type (Home vs Details)
* Not testing preview before embedding
* Adding too many services in one widget

# 🔥 Simple Mental Model
* Widget = **Your booking page inside your website**
* Pre-filter = **What customers see**
* Embed code = **How it appears**

## Summary
* Create widget → choose type
* Filter services → control display
* Copy code → embed on website
* Use multiple widgets → better experience