| 开发者 | infinitycurve |
|---|---|
| 更新时间 | 2026年7月18日 17:32 |
| PHP版本: | 8.1 及以上 |
| WordPress版本: | 7.0 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
[bailaya_class_schedule][bailaya_class_schedule_by_type type="salsa"][bailaya_events][bailaya_instructors][bailaya_studio_profile][bailaya_user_profile id="user-123"][bailaya_private_lesson_instructors][bailaya_packages][bailaya_locations]override_id so a single site can show more than
one studio, and exposes its CSS class names so you can style it to match your theme.
Languages
The plugin ships translations for the same six languages as BailaYa itself: English,
Spanish, French, German, Russian and Georgian. It follows your site's language
automatically.
Locations
Studios can have several locations. [bailaya_locations] lists them all, primary
first, each with its address and a link to open it in Google Maps.
The Studio Profile Card shows the primary location, falling back to the studio's
plain address for studios that have no locations configured. Pass
show_all_locations="true" (or tick Show all locations on the block) to list every
one instead.
Managing your studio from WordPress
Add an API key under Settings → BailaYa to unlock the BailaYa admin menu:
manage_options capability. Deleting a package that
still has active subscribers is refused — deactivate it instead, which stops new sales
while leaving existing subscriptions intact.
Sign in with BailaYa
Turn on Sign in with BailaYa to add a sign-in button to the WordPress login screen.
Visitors authenticate against BailaYa's OpenID Connect provider (authorization code with
PKCE) and are matched to a WordPress account — first by a previously linked BailaYa
account, then by email address. Sign-in is refused if BailaYa reports the address as
unverified. With auto-create off, only people who already have a WordPress account can
sign in.
Because these accounts are created for people who are not logged in, the role given to
them is fixed at Subscriber — the lowest-privilege WordPress role — and cannot be
changed. An auto-created account can never administer the site, manage other users,
publish content or post unfiltered HTML.
The bailaya_oauth_login action fires after a successful sign-in with the WP_User,
the OIDC claims and the tokens.
/wp-content/plugins/bailaya, or install it through the
Plugins → Add New screen.Yes. This plugin is a front end for the BailaYa service (https://www.bailaya.com), a third-party dance studio management platform operated by Infinity Curve LLC. Without a BailaYa studio and its Studio ID the plugin has nothing to show. You sign up at bailaya.com; the plugin does not create accounts.
The plugin is free and open source (GPLv2 or later). BailaYa itself is a separate service with its own terms and pricing — see https://www.bailaya.com.
Not for displaying data — the blocks and shortcodes use BailaYa's public API and need only your Studio ID. An API key is required only for the admin screens that create and edit studio data.
Yes. Every block and shortcode accepts an override_id attribute that overrides the
default Studio ID for that instance.
Yes. Each feature ships as a block and as a shortcode.
Yes. Enable Sign in with BailaYa in the settings and register the redirect URI shown there with your BailaYa OAuth client.
A package that someone has an active subscription to cannot be deleted, because deleting it would erase what they paid for. Deactivate it instead to stop new sales while leaving existing subscriptions intact.
Set the cache lifetime to 0 on the settings screen, or pass cache_ttl="0" to an
individual shortcode.