Register Button
The [register_button] shortcode is designed to make event registration accessible across various pages associated with an event. This shortcode can be used to display a registration button that dynami
How to use
Place the [register_button]
shortcode on any event-related page where you want users to have access to the registration option. This includes:
Event main page
Event sub-pages
Sub-events
Individual sessions
If your register button is placed incorrectly, a helpful message should appear explaining the issue.
Behaviour Across Event Hierarchy
The [register_button]
shortcode rolls registration up to the highest level of the event hierarchy if required. This behavior is similar to the main "Register" button in the header.
For example, if a session is part of a super-event that requires registration, placing the [register_button]
on the session page will display the super-event registration instead of the session registration, if you are not registered for the super-event.
Example Hierarchy:
Super Event (requires registration)
Sub-event
Session
If [register_button]
is placed on the Session page, it will display the registration form for the Session if you're already registered for the Super Event.
Additional Notes
Dynamic, Adaptive Behavior
The [register_button]
shortcode is designed to be fully responsive, adjusting both its link and behavior based on the page context and user state—similar to the adaptive registration button in the site header.
Context-Aware Linking: The button dynamically links to the appropriate registration page based on where it’s placed within the event hierarchy.
User-Sensitive Actions: The button also adapts based on the user's login and registration status:
Logged Out Users: If the user is not logged in, clicking the button will trigger a sign-in prompt to ensure a seamless registration experience.
Already Registered Users: If the user is already registered for the event, the button will not display, avoiding unnecessary prompts.
This responsive behavior ensures that the [register_button]
remains relevant and useful, providing only the actions the user needs at each stage of the registration process.
Styling
The [register_button]
can be styled through CSS if customizations are needed to match your theme.
If you wish to change the alignment or width of your button, please utilise the advanced settings of the block in which it is located.
Last updated