Home › Forums › Calendar Products › Events Calendar PRO › Insert events title and date in contact form 7
- This topic has 5 replies, 2 voices, and was last updated 6 years, 3 months ago by panoramic.
-
AuthorPosts
-
December 12, 2017 at 4:50 am #1403505panoramicParticipant
hi
i’m using contact form 7 to collect the registration of an event
how can i insert in the form some events values (like title, date, vanue)?
thanksDecember 14, 2017 at 6:55 am #1405499Jaime MarchwinskiKeymasterHi Michele,
Thanks so much for reaching out!
Just to let you know, we are limited by our Support Policy in how much we can help with customizations, but I will try to point you in the right direction.
Here are some of our resources that may help to get you started:
https://theeventscalendar.com/functions/
https://theeventscalendar.com/knowledgebase/themers-guide/
Let me know how it goes!
Thanks,
Jaime
December 14, 2017 at 7:18 am #1405515panoramicParticipantsorry
but i can’t proceed
I would simply like to know which field to use to go to automatically insert in a mail from contact form 7 the values I added [tribe-meta-value]December 15, 2017 at 5:05 am #1406310Jaime MarchwinskiKeymasterHi Michele,
I’m not too familiar with Contact Form 7, so I’m not entirely sure I understand your questions. However, when you create a form with Contact Form 7 they provide a shortcode for adding that form to a page. You can add the form to your events within the WYSIWYG when editing your events.
If you would like to automatically add this to all events, you can follow the themer’s guide to add the single-event.php file into your theme and include a “do_shortcode(‘[your form shortcode]’);” directly within the template file.
Event’s are WordPress Custom Post Types so anything like get_the_title() will work for an event.
The date of the event is stored as a custom field so you can use WordPress functions to get that ( get_post_meta() ).
Unfortunately, I can’t really provide any further support for a third-party plugin. I hope this helps to get you started!
Thanks,
Jaime
January 6, 2018 at 8:35 am #1419530Support 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 ‘Insert events title and date in contact form 7’ is closed to new replies.