Home › Forums › Calendar Products › Events Calendar PRO › Additional Field Placement
- This topic has 5 replies, 2 voices, and was last updated 6 years, 7 months ago by Annie Tandy.
-
AuthorPosts
-
August 1, 2017 at 10:26 am #1328954Annie TandyParticipant
I added an additional field called “Region” and would like to move it up in the form, above the date. Is that possible? It needs to be in a more prominent place so it’s selected towards the top.
Thanks,
AnnieAugust 2, 2017 at 8:27 pm #1329852JenniferKeymasterHi Annie,
Thanks for reaching out!
Just to make sure I understand, could you please clarify if you are looking to move the field on the event edit screen or move where the field displays on the front end?
I would recommend starting by taking a look at ourĀ themer’s guide, which has some great info on customizing our plugins.
Thanks,
Jennifer
August 2, 2017 at 8:29 pm #1329853Annie TandyParticipantThanks for your reply. I want to move the field on the event edit screen. It’s an important selection and I don’t want it to be overlooked.
August 16, 2017 at 10:06 am #1336170JenniferKeymasterHi Annie,
So sorry for the delayed response here, it looks like the thread status wasn’t updated when you replied and wasn’t showing up on my end – sorry about that!
You can move the additional fields section by adding the following to the functions.php file of your child theme:
// Move additional fields section to top of event edit screen
function tribe_remove_additional_fields() {
remove_action( 'tribe_events_details_table_bottom', 'Tribe__Events__Pro__Custom_Meta::single_event_meta' );
}
add_action( 'tribe_events_details_table_bottom', 'tribe_remove_additional_fields', 5 );
add_action( 'tribe_events_eventform_top', 'Tribe__Events__Pro__Custom_Meta::single_event_meta' );If you’d like to highlight the field further, you could add some CSS to change the background/font color, etc (see screenshot):
#event-meta tr:nth-child(2) {
background-color: #cccccc;
}Apologies again for the delay! Please let me know if that helps or if you have any questions!
Thanks,
Jennifer
September 7, 2017 at 9:36 am #1346039Support 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 ‘Additional Field Placement’ is closed to new replies.