Home › Forums › Calendar Products › Events Calendar PRO › Change the order of the Additional Fields
- This topic has 4 replies, 2 voices, and was last updated 11 years, 5 months ago by
Geoff.
-
AuthorPosts
-
November 24, 2014 at 11:21 pm #897960
jorditost
ParticipantHi,
In a website I had two additional fields for the events. Now I had to do some change and needed to add a third additional field. The problem is, that I want it to appear the first of the three and not the last and I cannot change the order in the admin.It is possible to do this? It seems to be a very basic function.
Thanks for your help
JordiNovember 25, 2014 at 8:35 am #898246Geoff
MemberHi there, Jordi! Welcome back to the forums. ๐
Seriously great question. There currently is no way to re-order the additional fields directly in the Settings. That’s a great idea though and, if you have a moment, I’d encourage you to share it on our UserVoice page so it can be considered for a future release. I can see how others would find that feature useful as well.
That said, the best way to change the order of the fields is to output them individually in the order you want them. You can do this by overriding theย single-event.php file (more on template overrides in our Themer’s Guide), then use theย tribe_get_custom_field() function to call each field individually. So, something like:
<?php echo tribe_get_custom_field('CustomFieldLabel', $eventID) ?>Does this help answer your question? Please let me know. ๐
Cheers!
GeoffNovember 25, 2014 at 9:12 am #898275jorditost
ParticipantHi Geoff! ๐
Thanks for your reply, I will share it on the UserVoice page. The solution you propose is good for the front-end, but it would be also nice to configure the order manually in the admin, so as the items appear in the correct order in the event’s edit page (in the admin).
Thanks again for your support.
Cheers!
JordiNovember 25, 2014 at 9:16 am #898280jorditost
ParticipantI’ve seen there was already a ticket on UserVoice. I share it here so as others can vote, if they also need it ๐
https://tribe.uservoice.com/forums/195723-feature-ideas/suggestions/3893590-sorting-for-additional-fieldsNovember 25, 2014 at 9:29 am #898291Geoff
MemberWow, you’re awesome! Great job finding that feature request on UserVoice–I didn’t see that when I checked. ๐
And thanks for marking the answer.ย I’ll to go ahead and close this thread, but please feel free to hit us up with a new thread if any other questions pop up. We’d be happy to help!
Cheers,
Geoff -
AuthorPosts
- The topic ‘Change the order of the Additional Fields’ is closed to new replies.
