Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the pue-sales domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114
Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the better-click-to-tweet domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114
Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the pue-amazon domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114
Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the pue-stats domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114
Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the wordpress-seo domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114 Is there a way to get the registration form in the side bar of every page? | Event Espresso - Staging Server
Client just asked if we could put the registration form in the side bar of every page in the WordPress site except for the Registration form page. Is that possible?
It should be possible. One way to do it would be to hardcode a shortcode right into the sidebar template, but here’s a more flexible solution:
The first step would be to add shortcode support to the text widget. Either create your own custom functionality plugin, or drop this function into the theme’s functions file:
if (!is_admin())
add_filter('widget_text', 'do_shortcode', 11);
The place the [ESPRESSO_REG_FORM] or [ESPRESSO_REG_PAGE] shortcode into the text widget. Be sure to use the event ID like [ESPRESSO_REG_FORM event_id=1]
Then install the widget logic plugin and write a conditional to exclude the registration form from the page(s) that have event shortcodes like [ESPRESSO_EVENTS], [ESPRESSO_TXN_PAGE], [ESPRESSO_PAYMENTS] and [SINGLE_EVENTS].
If your theme has a page template that displays the page content without a sidebar, this could be used instead of the widget logic.
The support post ‘Is there a way to get the registration form in the side bar of every page?’ is closed to new replies.
Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.