چۈشەندۈرۈش
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"]
ئورنىتىش
- Upload the plugin files to
/wp-content/plugins/lueira/or install via the WordPress admin. - Activate through the “Plugins” screen.
- 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
langattribute (for examplelang="es") to load the appropriate localized content.
باھالاشلار
بۇ قىستۇرمىغا تېخى باھا يېزىلمىدى.
تۆھپىكار ۋە ئىجادكار
«Lueira Embed» كودى ئوچۇق يۇمشاق دېتال. تۆۋەندىكى كىشىلەر بۇ قىستۇرمىغا تۆھپە قوشقان.
تۆھپىكار«Lueira Embed» نى تىلىڭىزغا تەرجىمە قىلىڭ
ئىجادىيەتكە قىزىقامسىز؟
كودقا كۆز يۈگۈرتۈپ، SVN خەزىنە تەكشۈرۈپ ياكى RSSئارقىلىق ئىجادىيەت خاتىرىسىگە مۇشتەرى بولغىلى بولىدۇ.
ئۆزگىرىش خاتىرىسى
1.0.5
- Simplify modal behavior for improved WebKit (Safari macOS/iOS) iframe scrolling.
- Keep modal layering robust with high
z-indexdefaults.
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_detailsshortcode attribute that passes the matching query flag to the iframe URL.
1.0.2
- Allow shortcode usage without
product_typeand adjust the embed URL accordingly.
1.0.0
- Initial release with shortcode, modal UI, and admin configuration page.
