Lueira Embed

Descripción

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

Accepts true or false; when set, appends a show_details query argument

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"]
  • Activity with Show Details Flag: [lueira id="202" module="school" show_details="true"]

Instalación

  1. Upload the plugin files to /wp-content/plugins/lueira/ or install via the WordPress admin.
  2. Activate through the “Plugins” screen.
  3. Visit Settings > Lueira Embed to confirm the marketplace host URL.

FAQ

How do I embed an activity?

Use [lueira id="123" module="school" product_type="private"] in any post or page.

Can I localize the embed?

Yes. Pass the lang attribute (for example lang="es") to load the appropriate localized content.

Reseñas

No hay reseñas para este plugin.

Colaboradores y desarrolladores

«Lueira Embed» es un software de código abierto. Las siguientes personas han colaborado con este plugin.

Colaboradores

Traduce «Lueira Embed» a tu idioma.

¿Interesado en el desarrollo?

Revisa el código , echa un vistazo al repositorio SVN o suscríbete al registro de desarrollo por RSS.

Registro de cambios

1.0.5

  • Simplify modal behavior for improved WebKit (Safari macOS/iOS) iframe scrolling.
  • Keep modal layering robust with high z-index defaults.

1.0.4

  • Fix mobile modal: full-width dialog and scrollable content on small screens for better UX.

1.0.3

  • Add the optional show_details shortcode attribute that passes the matching query flag to the iframe URL.

1.0.2

  • Allow shortcode usage without product_type and adjust the embed URL accordingly.

1.0.0

  • Initial release with shortcode, modal UI, and admin configuration page.