Home › Forums › Calendar Products › Events Calendar PRO › Add Specific Additinal fields to template.
- This topic has 8 replies, 3 voices, and was last updated 8 years, 10 months ago by Support Droid.
-
AuthorPosts
-
July 24, 2013 at 6:10 am #56777Schalk JoubertParticipant
Hi,
What would the code be to add an additional field, with label name: “Presenter” to the list template, or can additional fields only be grouped in under the OTHER section in the single view.
Regards
July 24, 2013 at 9:47 am #56876Schalk JoubertParticipantThis Screenshot might explain it better.
So instead of a few additional fields in one group, I want to add a few to different areas, in both the events list view and the single event view.
http://www.outoforder.co.za/dropbox/Events%20Calender%20Pro.jpgJuly 24, 2013 at 1:11 pm #56942Schalk JoubertParticipantRelated to my quetsion above, is there somewhere a list of all the meta.
So if I wan to add start date, or end date, somewhere in my template, i can just look op the code?July 25, 2013 at 9:01 am #57106JonahParticipantHi Schalk Joubert,
Please take a look at our themer’s guide which covers modifying things in the plugin: https://theeventscalendar.com/support/documentation/events-calendar-themers-guide/ – also, check out our docs for specific function information: http://docs.tri.be/
I hope that helps!
– Jonah
July 25, 2013 at 2:47 pm #57215Schalk JoubertParticipanthi jonah,
im fully aware of the url to guide and docs above. please read my thread properly. i was hoping for some support, as it stsnds now the pro version is of no added value to me.
thanks
schalkJuly 26, 2013 at 10:03 am #57338JonahParticipantHi Schalk Joubert,
Sorry about that. As indicated in the Themer’s guide, there are various list templates in the /wp-content/plugins/the-events-calendar/views/list folder. If you want to add specific markup/code to each event, you would want to edit /wp-content/plugins/the-events-calendar/views/list/single-event.php by making a copy and placing in a ‘tribe-events’ folder in your theme. Then, if you wanted to add code for custom fields to display you could use the tribe_the_custom_fields() function somewhere in the single-event.php file (wherever you want it to display).
Does that help?
– Jonah
July 26, 2013 at 10:26 am #57347Schalk JoubertParticipantHi Jonah,
Thanks for trying, but this doesn’t help me. I know how to work on the template file, and I have made some changes.
I think this screenshot explains it exactly… http://www.outoforder.co.za/dropbox/Events%20Calender%20Pro.jpg
The custom fields are grouped into one group. So one can have loads of custom fields, but still only one group.
How do I go about having different groups?
I want a custom fields called DJ to appear on the events list while I want a custom field AFTER PARTY appear in the single event template.
Hope you can shed some light, thanks
SchalkJuly 26, 2013 at 12:40 pm #57370JonahParticipantHi Schalk,
So in that case you just need to use tribe_get_custom_field() instead: http://docs.tri.be/Events-Calendar-PRO/function-tribe_get_custom_field.html – then you can control the output entirely for each individual field.
I hope that helps,
– JonahJuly 7, 2015 at 6:27 am #979984Support DroidKeymasterThis topic has not been active for quite some time and will now be closed.
If you still need assistance please simply open a new topic (linking to this one if necessary)
and one of the team will be only too happy to help. -
AuthorPosts
- The topic ‘Add Specific Additinal fields to template.’ is closed to new replies.