How to embed your Lueira activities in your WordPress website
Lueira includes an "Embed code" modal in the admin that generates the WordPress shortcode and the iFrame code for each activity. We show you how to integrate your activities into your WordPress website in 3 different ways, all based on the new modal.
On this page
- How to embed your Lueira activities in your WordPress website
- Generate the code from the admin
- What is it for?
- Understand the structure (optional)
- OPTION 1: A button that opens the product
- Step 1: Install the plugin
- Step 2: Configure the plugin
- Step 3: Copy the shortcode
- Step 4: Paste it into your page
- OPTION 2: The full product embedded
- Step 1: Copy the iFrame code from the admin
- Step 2 (optional): Adjust size and content
- Step 3: Paste it into your page
- OPTION 3: Only the calendar
- What if I have several products?
- Need more control?
- Booking link and your own domain for the store
- What if I only want a link to my store?
- Use your own domain for the store (for example, reservas.tuweb.com)
How to embed your Lueira activities in your WordPress website
Lueira includes an "Embed code" modal in the admin that automatically generates the WordPress shortcode and the iFrame code for each product. You no longer need to build the URLs or the codes by hand: just open the modal, copy and paste.
In this manual we will show you how to integrate your Lueira products directly into your WordPress website. We will show you 3 different ways to do it, so you can choose the one that best suits your website.
Generate the code from the admin
The modal works for any product you can enable in the online store:
Group classes
Private classes
Group class packs
Rental products
Rental packs (bundles)
⚠️ Requirement: the "Embed code" option only appears if your center has the online store enabled. If you don't see it, check in Settings that the online store is enabled.
Steps:
Open the product page in the admin (Activities, Packs or Rental > your product).
In the header of the page, next to the pencil icon, click the three-dot menu (⋮). For group class packs there is also a dedicated
</>icon that opens the modal directly.
Choose "Embed code".

WordPress: gives you the link to download the plugin and the shortcode ready to copy.

iFrame: gives you the iframe code already generated, with controls to adjust the width, the height and a switch to show or hide the product details.

⚡ Tip: each product has its own modal, so the code you copy already comes with the correct ID and product type.
What is it for?
This feature is useful when:
You want to show your booking calendar on your WordPress website
You prefer not to redirect your customers to another platform
You need to integrate your products in a customized way
You have several products and want to show them all on your site
Understand the structure (optional)
Even though the modal generates the code for you, it will help to understand where it comes from. Each Lueira product has a URL like this:
https://tutienda.lueira.com/school/group/d14k1iq98njc73df3mi0
Each part of this URL has a meaning:
Part | In your URL | Meaning |
tutienda.lueira.com | Your domain | It is always the same for all your products |
school / rent | Module | "school" for classes and class packs, "rent" for rentals and rental packs |
group / private / group-package / bundle | Product type | Changes depending on the product type (individual rental products do not have this segment) |
abc123xyz | Product ID | THIS changes for every product |
⚡ The important part: the module, the product type and the ID change depending on the product. The modal fills them in for you, but if you want to build the code by hand, these are the three values you need to adapt.
OPTION 1: A button that opens the product
The simplest one. Your visitor sees a button and when they click it, your booking calendar opens in a pop-up.

Step 1: Install the plugin
From the "Embed code" modal > WordPress tab, click "Download plugin". The button takes you to the official Lueira plugin on wordpress.org.
Alternative: in your WordPress, go to Plugins > Add New, search for Lueira Embed, install it and activate it.
Step 2: Configure the plugin
Go to Settings > Lueira Embed

Check that the domain is correct (your Lueira domain)

Step 3: Copy the shortcode
Go back to the "Embed code" modal > WordPress tab and click "Copy" in the "WordPress shortcode" field. The modal generates the shortcode adapted to the product type. These are the forms for each type:
Product type | Generated shortcode |
Group class | [lueira id="abc123xyz" module="school" product_type="group"] |
Private class | [lueira id="abc123xyz" module="school" product_type="private"] |
Group class pack | [lueira id="abc123xyz" module="school" product_type="group-package"] |
Rental product | [lueira id="abc123xyz" module="rent"] |
Rental pack (bundle) | [lueira id="abc123xyz" module="rent" product_type="bundle"] |
⚡ You don't have to learn these variants: each modal gives you the correct shortcode for that product directly.
Step 4: Paste it into your page
Edit the page where you want the button
Add a Shortcode block
Copy and paste the full code

OPTION 2: The full product embedded
It shows everything: the product photo, the full description and the booking calendar, all on a single page with no pop-ups.

Step 1: Copy the iFrame code from the admin
Open the "Embed code" modal > iFrame tab. The code is already generated with the correct /embed/... URL for your product. For example, for a group class:
<iframe src="https://tutienda.lueira.com/embed/school/group/abc123xyz" width="100%" height="800" frameborder="0" allowfullscreen></iframe>
The /embed/{module}/{type}/{id} segment adapts automatically to the product (for example, /embed/rent/bundle/... for a rental pack, /embed/school/private/... for a private class, etc.).
Click "Copy".
Step 2 (optional): Adjust size and content
In the iFrame tab you can change the following before copying:
Control | What it does |
Width | The width of the iframe on your page (100% by default) |
Height (px) | The height in pixels (800 by default). Increase it if the content gets cut off. |
Show product details | If you turn it off, the photo and the description are hidden and only the calendar is shown (see OPTION 3) |
The code and the preview update in real time as you change these values.
Step 3: Paste it into your page
Edit the page
Add an HTML block
Copy and paste the full code

OPTION 3: Only the calendar
Perfect if you want your visitor to see only the available dates without the product description.

In the iFrame tab of the "Embed code" modal, turn off the "Show product details" switch. The modal will automatically add the parameter ?showProductDetails=false at the end of the URL:
<iframe src="https://tutienda.lueira.com/embed/school/group/abc123xyz?showProductDetails=false" width="100%" height="600" frameborder="0" allowfullscreen></iframe>
Click "Copy" and paste it into an HTML block on your page, as in OPTION 2.

Choose according to what you want:
OPTION 1 if your page already explains the product well and you only need a button for people to book
OPTION 2 if you want everything to be visible on a single page (Lueira's recommendation)
OPTION 3 if your website already has good photos and a good description, and you only need people to see availability
What if I have several products?
Easy. Repeat the process for each product: open its "Embed code" modal and copy the corresponding shortcode or iframe. Each modal generates the code with the correct ID, module and product type, so you don't have to touch anything by hand.
Need more control?
💡 If you want to go beyond the modal (customize the button text, apply CSS classes, learn the optional shortcode parameters or check the technical details of the Lueira Embed plugin), take a look at the technical guide:
Booking link and your own domain for the store
What if I only want a link to my store?
If you don't want to embed anything in your website, you can link directly to your online store. You'll find the address in Settings → Online store → General, in the "Your online store is available at" block (Go to the store button). That page shows your whole catalog.
💡 The iFrame code (OPTIONS 2 and 3) is standard HTML: you can also paste it into websites that are not WordPress, as long as your editor lets you insert an HTML code block.
Use your own domain for the store (for example, reservas.tuweb.com)
In Settings → Online store → General, Custom domain block, you can enter the domain or subdomain you want to use for your store instead of the Lueira address.
For it to work, you also need to create a DNS record (of type CNAME) with the provider where your domain is registered, pointing to your Lueira store. Until that record has been created and has propagated, the store will not work on the new domain.
⚠️ Before changing it, write to our support team. We will confirm the exact value of the record and the order of the steps, and we will review it with you. The DNS details depend on each case (for example, domains with "ñ" or accents have to be written in a special format).
Once your own domain is working, check in your WordPress Settings → Lueira Embed that the configured URL is that of your store (Step 2 of OPTION 1), and copy the iFrame codes again from the modal if you pasted them before the change.
Related guides
- Online store settingsThis guide shows you how to set up your online store in Lueira, including the purchase (checkout) form fields that can be shown as visible or required.
- Purchase form fields in the online storeHow to configure which fields appear in the online store checkout form and which ones are required for the customer.
- Automatic invoicing in the online storeHow to set up the automatic generation of invoices and receipts when a payment is completed in the online store, including numbering series and compatibility with Verifactu and TicketBAI.
- Product order in the Online StoreGuide to defining the order in which products are displayed in the Online Store
- Product page layouts in the Online StoreLearn how to choose between the 4 layouts available for your Online Store's product page and how to preview them before enabling them
- Online store screen layoutThe online store shows School/Center/Activities, Rental and Sales as separate tabs depending on which modules are enabled on your account.