Home › Forums › Calendar Products › Community Events › Change Title of "ADDITIONAL FIELDS" on form & hide from Listing
- This topic has 4 replies, 2 voices, and was last updated 6 years, 9 months ago by Gibson.
-
AuthorPosts
-
July 6, 2017 at 12:20 pm #1317062GibsonParticipant
On Community Events I was hoping to do the following:
1. On the user facing Community Events form, I added a few additional fields for users to submit their own contact information so we can contact them if we need any clarification. However, on the form it shows up as “ADDITIONAL FIELDS” Where can I change that to read “CONTACT INFORMATION”? I assume it’s in a PHP file I can copy and place in my Theme file, I just don’t know which one.
2. Also referencing the Additional Fields in above point, I don’t want this information to show on the actual Event page. How can I achieve that?Thanks for your help!
July 7, 2017 at 12:29 pm #1317601AndrasKeymasterHello Gibson,
Thanks for reaching out with your questions. Let me help you with them.
The best way to change “Additional Fields” would be to create a template override. You can find more information about doing this in our Themer’s Guide. You will need to create a template override for this file:
wp-content\plugins\the-events-calendar-community-events\src\views\community\modules\custom.php
To hide that block from the front end you have 2 options:
Either create a template override for this file:
wp-content\plugins\events-calendar-pro\src\views\pro\modules\meta\additional-fields.php
(Possibly creating an empty file would be easiest.)
OR you can just hide that part with this css snippet:
.tribe-events-meta-group-other { display: none !important; }
Let me know if this helps of if you have any more questions.
Cheers,
AndrasJuly 7, 2017 at 4:09 pm #1317716GibsonParticipantThanks – that worked!
July 10, 2017 at 7:03 am #1318360AndrasKeymasterStoked to hear that worked out! Awesome!
I am going to close this ticket, but if you need anything else related to this topic or another please post a new one in the forum and we will be happy to help you out.
Cheers,
Andras -
AuthorPosts
- The topic ‘Change Title of "ADDITIONAL FIELDS" on form & hide from Listing’ is closed to new replies.