usermanual

WordPress Plugin

Shortcode Reference

All shortcodes exposed by the plugin, their parameters, and where they render.

This article lists every shortcode the plugin exposes, plus its accepted parameters. Drop a shortcode into any WordPress page, post, or block that supports it.

Auth: user menu widget

[unidy_user_menu] β€” Signed-out visitors see a TowersID pill (opens the sign-in overlay). Signed-in visitors see an avatar dropdown with Mein Konto, Meine Tickets, Newsletter, and Abmelden.

Attributes:

  • profile_href β€” default /profil. Where the profile menu item points.
  • signin_href β€” default /login. Where the anonymous pill points.
  • profile_label β€” default Mein Profil. Label on the profile menu item.
  • logout_label β€” default Abmelden. Label on the logout row.
  • signin_label β€” default Anmelden. Label on the signed-out pill.
  • align β€” left or right (default). Which side the dropdown expands toward.

Profile: standalone editor

[unidy_profile] β€” Renders the profile editor inline. Uses the field list configured under Unidy β†’ Profile β†’ Standalone fields. Anonymous visitors see a sign-in prompt.

No attributes β€” configuration is driven by the admin screen.

Newsletter: signup form

[unidy_newsletter] β€” Signup form for anonymous visitors, preference center for signed-in visitors (depending on the Signed-in behaviour setting).

Attributes:

  • card β€” restrict to a single card by internal name (e.g. card="club_news").
  • style β€” override the admin's default style: default (full) or compact (single card).
  • hide_intro β€” true to hide the intro text block above the form.

Newsletter: preference center

[unidy_newsletter_preferences] β€” Standalone preference center for signed-in visitors. Anonymous visitors see the not-identified fallback message.

No attributes.

Tickets

[unidy_tickets] β€” Renders the visitor's active tickets. Signed-out visitors see an empty state with a sign-in CTA.

Attributes:

  • page_size β€” number of tickets per page (default 10).
  • wallet_export β€” true or false. Show the Apple/Google Wallet buttons on each ticket card.

Transactions

[unidy_transactions] β€” Renders the visitor's payment history with a status filter (all / paid / pending / refunded).

Attributes:

  • page_size β€” number of transactions per page (default 10).

Subscriptions

[unidy_subscriptions] β€” Renders the visitor's active recurring memberships with a Verwalten button per row.

Attributes:

  • page_size β€” number of subscriptions per page (default 10).

Best practices

  • Keep only one instance of a shortcode per page. Duplicates render but consume extra SDK bandwidth.
  • Test each shortcode in both anonymous and signed-in states before publishing.
  • If you insert a shortcode into a page cached by WP Rocket or a similar cache plugin, purge the cache after publishing so the shortcode is re-processed.
Did this answer your question?
😞
😐
🀩