Support

Home Forums Event Espresso Premium Register interest for an event with no date

Register interest for an event with no date

Posted: October 12, 2014 at 12:20 pm


Maria Ali

October 12, 2014 at 12:20 pm

Hi πŸ™‚ I am offering a number of courses. Some, but not all, have confirmed dates. For those courses with NO confirmed date, I would like to enable people to register their interest, so I can contact them when we DO have a date.

I have read on the forum that all events must have a date, but that you can hide this using css.

Being a complete novice, could you help with some more specific advice?

I’ve seen the following suggested code:

.postid-3724 .event-datetimes {display:none}

1. How do I find the post id of any specific event I’ve set up (I don’t want to hide the dates for all of them)
2. Where do I put this css? Can it go into my child theme? Is that the most stupid question that anyone ever asked?!

Thanks in advance πŸ™‚


Maria Ali

October 13, 2014 at 7:00 am

Oops, sorry, forgot to mention that I’m running EE3 3.1.36.6.P.


Tony

  • Support Staff

October 13, 2014 at 7:48 am

Hi Maria,

Firstly there’s no such thing as a stupid question πŸ™‚

However that code you have posted is for EE4 but there is similar for EE3.

1) There are a few ways to find the ID, if you go to Event Espresso -> Event Overview. Find your event and look within the ID Column – http://take.ms/y8aPW

Or visit the event from the front end and in the URL for the page you’ll see the event id. Like this:

http://ee3.local/event-registration/?ee=185 << the event id is 185. So then we can add this code: #espresso-event-id-185 .start_date { display: none; } #espresso-event-id-XXX will change for each event in which you need to hide the dates. 2) We recommend using either the My Custom CSS or Reaktiv CSS Builder plugins to add custom styles such as these.

You can also just add it to your child theme if you prefer. The main reason to do any of those, is to keep your customisations ‘update safe’.

  • This reply was modified 9 years, 6 months ago by  Tony. Reason: code layout fix


Maria Ali

October 22, 2014 at 5:19 am

Thanks Tony πŸ™‚ Massively helpful as always πŸ™‚

The support post ‘Register interest for an event with no date’ 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