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
Registration Page Link | Event Espresso - Staging Server

Support

Home Forums Event Espresso Premium Registration Page Link

Registration Page Link

Posted: September 17, 2012 at 6:55 am

Viewing 4 reply threads


Aura Software

September 17, 2012 at 6:55 am

Hi,

I am using the custom page type functionality with event espresso, and I have a post which contains the details of an event. I know I can include in the template:


echo do_shortcode('[ESPRESSO_REG_FORM event_id="'.$event_id.'"]');

to create a registration form, but what I would really like is a button that takes me to the event registation page. I could do something like:


get_permalink($org_options['event_page_id'])

To get a link to that page, but the problem is, it would appear even if the event has expired, is full of people, whatever.

Is there an existing function to create such a link?

thanks,

Rob


Aura Software

September 17, 2012 at 6:55 am

or alternatively, please suggest some code for my template.

thanks


Aura Software

September 26, 2012 at 4:52 am

anyone?


Dean

  • Support Staff

September 27, 2012 at 5:08 am

Hey Rob,

Sorry for the late reply, not sure how this got missed.

Im not 100% sure about what you are trying to do here, but if I am right, why not add some conditional logic in order to display the button?

the page-event_list.php in the post-type-samples directory seems to have the variables needed to work with.


Aura Software

October 4, 2012 at 4:51 am

ok, thanks a lot.

Viewing 4 reply threads

The support post ‘Registration Page Link’ 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