Home › Forums › Calendar Products › Events Calendar PRO › Can I create a comming soon event with Events Calendar Pro?
- This topic has 5 replies, 2 voices, and was last updated 6 years, 2 months ago by Ángela Guzmán.
-
AuthorPosts
-
January 16, 2018 at 12:22 pm #1427917Ángela GuzmánParticipant
I need to create an event in my website but I don’t know the date yet, so I want to create a coming soon event. Is it possible? How can I do it? Thanks.
January 17, 2018 at 4:13 pm #1429046JenniferKeymasterHi Ángela,
There is not currently a way to create an event without any date, but you could do a customization to hide the date (or hide the event from particular views, like month view for example). One way to do this would be by using categories. We are a bit limited in the amount of support that we can provide for customizations, but if you can provide some more details on how you would like this to work, like where you want the events to display or not display, I’ll be happy to point you in the right direction!
January 18, 2018 at 2:12 am #1429226Ángela GuzmánParticipantThis reply is private.
January 30, 2018 at 6:20 pm #1440279JenniferKeymasterHi Ángela,
I’m sorry for the delayed response, we’ve had quite a heavy volume in the forums here lately.
There will be a few steps involved in getting this set up, so I will try to provide some recommendations to get you started here:
- Create a category for events that you want to hide and assign it to those events
- Following the instructions in the themer’s guide, you can use the tribe_event_in_category function to check if the event has that category before displaying certain details on the single event page.
- For the date and time under the event title, the template you’ll want to copy can be found at wp-content/plugins/the-events-calendar/src/views/single-event.php. In your copy, you can change this line:
', '
' ); ?>
to this:
', '
' ); endif; ?>
- For the details section, the template you’ll want to copy can be found at wp-content/plugins/the-events-calendar/src/views/modules/meta/details.php. I went ahead and added in the code here, so you can copy/paste this template into your child theme.
- Note that for both templates, you’ll want to replace “testing” that you see in my examples with the slug for the category that you create.
- If you would like to hide these events from different views on the front end, I would recommend taking a look at this snippet as a starting point.
If you get stuck or have any questions, please let me know!
Thanks,
Jennifer
February 21, 2018 at 8:35 am #1459957Support DroidKeymasterHey there! This thread has been pretty quiet for the last three weeks, so we’re going to go ahead and close it to avoid confusion with other topics. If you’re still looking for help with this, please do open a new thread, reference this one and we’d be more than happy to continue the conversation over there.
Thanks so much!
The Events Calendar Support Team -
AuthorPosts
- The topic ‘Can I create a comming soon event with Events Calendar Pro?’ is closed to new replies.