BACK TO DIRECTORY

Lueira Embed

by maladeta

0.0
(0 ratings)

Lueira Embed adds a shortcode that renders a configurable button. The button opens an accessible modal showing an iframe with a Lueira marketplace activity. Administrators can configure the base host URL from the WordPress settings screen.

Usage

Basic Shortcode

[lueira id=”cd2j3bkk7mdnur3r857g” module=”school” product_type=”private”]

Shortcode Parameters

Parameter
Required
Default
Description

id
Yes

The activity ID to embed

module
Yes

The module type (e.g., “school”, “rent”)

product_type
No

Optional product type (e.g., “private”, “group-package”) included when available

lang
No
“es”
Language code for localized content, default is “es”

button_text
No
“View activity”
Text displayed on the button

class
No

Additional CSS classes for the button

show_details
No
true
Accepts true or false. When false, hides the product header/details by appending showProductDetails=false to the iframe URL

success_url
No

Absolute URL the buyer is redirected to after a successful payment. Appended as embedSuccessUrl. Defaults to the store’s own success page when omitted

cancel_url
No

Absolute URL the buyer is redirected to if they cancel. Appended as embedCancelUrl

display
No
“modal”
modal opens the activity in a modal iframe; newtab renders a link that opens the activity in a new tab

The query parameters appended to the iframe URL (showProductDetails, embedSuccessUrl, embedCancelUrl) match exactly what the store reads — they are case-sensitive.

Examples

  • School Activity (Private): [lueira id="456" module="school" product_type="private" button_text="View Activity"]
  • School Group Package in English: [lueira id="789" module="school" product_type="group-package" lang="en" class="btn-primary" button_text="Join Group Package"]
  • Rent Bundle with Custom Styling: [lueira id="101" module="rent" product_type="bundle" lang="es" button_text="Ver Actividad" class="lueira-embed__trigger--accent"]
  • Hide product details: [lueira id="202" module="school" show_details="false"]
  • Custom redirect URLs: [lueira id="202" module="shop" success_url="https://tienda.com/gracias" cancel_url="https://tienda.com/carrito"]

Plugin Details

Active Installs
20
Total Downloads
738
Version
1.0.8
Requires WP
5.0
Requires PHP
7.4
Tested Up To
6.9.7
Added
2025-10-24
Last Updated
2026-06-18 10:08am GMT

Ratings

5
0
4
0
3
0
2
0
1
0