Custom fields after Event Discription

Home Forums Calendar Products Community Events Custom fields after Event Discription

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #1196733
    Derek
    Participant

    Hi,

    I’d like to add additional input fields after the Event Description. Can I create additional fields and then call those specific custom fields in the places within the form that I need them? or do I need to use something like ACF to do this?

    Thanks!
    Derek

    #1197162
    Andras
    Keymaster

    Hi Derek,

    Thanks for using our plugins and welcome to the forums!

    Since you have EC Pro you can create additional fields that will show up. Go to Events > Settings > Additional Fields and set up the fields you want.

    They will then automatically appear on the Submit Event page above the event cost.

    Let me know if this helps.

    Cheers,
    Andras

    #1198280
    Derek
    Participant

    Hi Andras,

    Thanks for your help! I understand how to create additional fields using EC Pro.

    My issue is is I’d like to to call a specific custom field after the event description and not in the additional fields box.

    All of the custom fields you create get returned in the community events submission form via custom.php.

    Id like to create a custom text area field using EC Pro and the call that specific field outside of the additional fields (right after events description). I’m trying to add additional questions about the the event.

    I was hoping for some insight on how to do this using EC.

    Thanks,
    Derek

    #1198966
    Andras
    Keymaster

    Hi Derek,

    Thanks for giving me more details. I will need to get some extra help for this, I ask for a bit of patience. We’ll get back to you soon.

    Thanks and cheers,
    Andras

    #1199990
    Andras
    Keymaster

    Hey Derek,

    Thanks for hanging in there. Had some discussions on this with a colleague.

    Slightly good news is, moving only one field from the additional fields is tricky, but possible.

    The better news is, moving all the additional fields is quite easy.

    So here is the rundown for the easy solution, which requires a template override.

    Start with these 2 docs to get an understanding on how it’s done:

    https://theeventscalendar.com/knowledgebase/themers-guide/

    https://theeventscalendar.com/knowledgebase/template-overview/

     

    You will need to create a template override for this file:

    /wp-content/plugins/the-events-calendar-community-events/src/views/community/edit-event.php

    Make a copy of it here and start editing:

    [your-theme]/tribe-events/community/edit-event.php

    Line 68 of the file is:

     <?php tribe_get_template_part( 'community/modules/custom' ); ?

    Move that line to where you want the fields to appear.

     

    The tricky solution also involves a template override and adding a custom.php, which could be customized to not display Field X.

    And new-partial-file.php could be customized to display only Field X.

     

    Developing this is beyond the scope of our support, but I hope this helps you get started.

    Let me know if you have any questions and I can try to show you the way.

    Cheers,
    Andras

    #1209535
    Support Droid
    Keymaster

    Hey 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

Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘Custom fields after Event Discription’ is closed to new replies.