Support

Home Forums Event Espresso Premium Register Button

Register Button

Posted: May 9, 2017 at 4:01 am

Viewing 18 reply threads


rescon

May 9, 2017 at 4:01 am

Hello I am using EE4 and I am trying to add a ‘Register Now’ button in the single event page … but could not find any information regarding how to do that …

The “Display Ticket Selector” is set to “Yes” in Event registration options


Tony

  • Support Staff

May 9, 2017 at 5:11 am

Hi there,

The single event page should already include the register button with the ticket selector.

Can you link me to an event I can view this on please?


rescon

May 9, 2017 at 6:10 am

here you go … http://www.signsofsafety.net/events/2017-international-signs-of-safety-gathering/


Tony

  • Support Staff

May 9, 2017 at 6:30 am

Hmm, so is that all just from the content of the event? None of the EE event details that would be injected into the_content are included on that page, are you using a custom template for EE events?

If you temporarily switch to one of the default themes such as twentyseventeen and view the event do you see all of the details for the event? (You can do that only for admins using the Theme Test Drive plugin)


rescon

May 9, 2017 at 7:21 am

Yes I am using a custom template … I will check this with twentyseventeen theme


rescon

May 9, 2017 at 7:29 am

Hello Tony … I switched to a twentysixteen and I did see the ticket selector on the event page please see this screentshot http://prntscr.com/f5thfx … please advise how can I make it appear on my custom theme …


rescon

May 9, 2017 at 7:29 am

Can I only show a “Register Now” button which on clicking redirect the user to a registration page ?


Josh

  • Support Staff

May 9, 2017 at 7:34 am

please advise how can I make it appear on my custom theme …

Can you send us a zip file of the theme so we can examine it and find how it’s removing the ticket selector?


rescon

May 9, 2017 at 7:38 am

Sure … how can I send it securely ?


rescon

May 9, 2017 at 7:46 am

I have uploaded to dropbox … please download and let me know … https://www.dropbox.com/s/gucdy3a757ap9dt/signsofsafety-1.2.zip?dl=0


rescon

May 9, 2017 at 8:14 am

Please let me know once you have downloaded the theme … So I can remove it from my dropbox … Thanks


Josh

  • Support Staff

May 9, 2017 at 8:18 am

You can rename the theme’s single-espresso_events.php file -or- uncomment line 188 of your theme’s functions.php file, which has this line of code commented out:

add_filter( 'FHEE__EED_Event_Single__template_include__allow_custom_selected_template', '__return_true' );

If you’re not sure how to uncomment the code, this means that you remove the two slashes at the start of the line, then save the file.


rescon

May 9, 2017 at 10:39 am

Thanks … Regarding my other question

Can I only show a “Register Now” button which on clicking redirect the user to a registration page ?

What would you suggest ?


Josh

  • Support Staff

May 9, 2017 at 10:47 am

I would not suggest only showing a Registration Now button because you’re requiring the selection of a quantity of tickets. If you want to change the “Add to Event Cart” to a “Register Now” button, you can deactivate the Multi Event Registration add-on.


rescon

May 9, 2017 at 11:01 am

In EE3 we can create registration forms … isn’t this the case in EE4 ?


rescon

May 9, 2017 at 11:32 am

Josh … Is there a filter for hiding the Dates and Times section ?


Josh

  • Support Staff

May 9, 2017 at 12:37 pm

In EE3 we can create registration forms … isn’t this the case in EE4 ?

You can create registration forms in Event Espresso 4. The registration process is much different in Event Espresso 4 though. In EE3 you had to click on a “Add an additional attendee button to add forms for more attendees. In EE4 you select a quantity on the Ticket Selector and then submit that form to get to the registration form step. Then the registration for step will automatically have the correct forms generated.

Josh … Is there a filter for hiding the Dates and Times section ?

Not really recommended because those are added via the_content() filter. If you want to not show that section, you can add a blank file to your theme and name it content-espresso_events-datetimes.php.


rescon

May 9, 2017 at 1:51 pm

Not really recommended because those are added via the_content() filter. If you want to not show that section, you can add a blank file to your theme and name it content-espresso_events-datetimes.php.

Thanks … where can I get the list of templates like mentioned above ?


Josh

  • Support Staff

May 9, 2017 at 1:59 pm

In the public folder of the Event Espresso 4 plugin.

Viewing 18 reply threads

The support post ‘Register Button’ 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