Support

Home Forums Event Espresso Premium Registration Page Link

Registration Page Link

Posted: September 17, 2012 at 6:55 am


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

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.

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