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
Make widget open another tab when url in Alternate Registration Page | Event Espresso - Staging Server

Support

Home Forums Event Espresso Premium Make widget open another tab when url in Alternate Registration Page

Make widget open another tab when url in Alternate Registration Page

Posted: July 23, 2012 at 10:09 pm

Viewing 4 reply threads


mcote

July 23, 2012 at 10:09 pm

Is there an easy way to have the event espresso widget “target=_blank” when an alternate URL is placed in the “Alternate Registration Page” field?


Josh

July 24, 2012 at 11:08 am

It would involve changing a few things around in widget.php. Note the changes below:


mcote

July 24, 2012 at 6:48 pm

Thanks for the code. Do you think it would be possible to add an option button beside the Alternate Registration Page such as “Open url in another tab” for the next release? This would allow to direct the people outside your site depending on the event.


Josh

July 25, 2012 at 7:44 am

The above code should work for what you’re trying to accomplish. We’re not adding any new features to Event Espresso 3.2 as that would delay it further.


mcote

August 3, 2012 at 7:41 pm

I just wanted to share my workaround regarding this point. What I did is create a post where I talk about the event and within this post I made a link to redirect the user to the site where the registration actually occurs by opening another tab. Therefore in the event espresso events page,I used the alternate registration functionailty to bring the user to this post.

Viewing 4 reply threads

The support post ‘Make widget open another tab when url in Alternate Registration 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.

Event Espresso - Staging Server