Home › Forums › Calendar Products › Events Calendar PRO › Adding a Subtitle
- This topic has 5 replies, 2 voices, and was last updated 11 years ago by
Geoff.
-
AuthorPosts
-
August 24, 2015 at 2:47 pm #998545
Jessica Hanson
ParticipantHello,
I am wanting to add a subtitle to the “Add new Event” management page and to the output of the event.
So you would have:
MAIN TITLE
Sub title
Date – Time – PriceHow can I achieve this, thank you!
All the best,
August 24, 2015 at 3:30 pm #998573Geoff
MemberHi Jessica and welcome to the forums! I hope you’re enjoying PRO and Filter Bar so far. π
The trick here is to create a custom field that you can use in the calendar templates. In this case, I wold look into something like Advanced Custom Fields to create a new subtitle field for events, then add that field to the calendars templates using a template override.
Is that something that will work for you? Please let me know!
Geoff
August 24, 2015 at 3:35 pm #998577Jessica Hanson
Participanthmm.. not exactly because I want it to show up on the Add New Event page, is there a way to edit the Add New Event page that is displayed in WordPress Admin? If so, what is the file I’ll need to edit? I need this functionality, because multiple newer users use this page to add events.
Thanks!
August 25, 2015 at 7:55 am #998794Geoff
MemberHi Jessica and thanks for following up!
Yes, Advanced Custom Fields does indeed allow you to add that field directly to the event post editor in WordPress, so you would be able to see the field when creating a new event. No editing files necessary, the field will be right there. π
As far as displaying the information you put into that field onto the event page itself, you can follow the Advanced Custom Field examples for how what needs to be added to the calendar template, then check out our Themer’s Guide for how to override theΒ single-event.php file, which you can use to display that field on the single event page.
Please do let me know if this helps you get started!
Geoff
August 25, 2015 at 12:23 pm #998897Jessica Hanson
ParticipantYes, I just found the tab late yesterday within the plugin… oops! Thank you so much for all your help π
August 25, 2015 at 2:07 pm #998940Geoff
MemberMy pleasure! So glad this helped out and thanks again for reaching out. π
-
AuthorPosts
- The topic ‘Adding a Subtitle’ is closed to new replies.
