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?!
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 10 years, 3 months ago by Tony. Reason: code layout fix
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.
Support forum for Event Espresso 3 and Event Espresso 4.