Home › Forums › Calendar Products › Events Calendar PRO › Adding [Date] to blog loop events title
- This topic has 4 replies, 2 voices, and was last updated 9 years, 10 months ago by Casey.
-
AuthorPosts
-
June 4, 2014 at 8:14 am #203826memecoParticipant
Hello, I’d like to change event titles so it can display the date of such events as in [9 Jun 2014] <name of the event> in the blog loop.
Where and how can I edit this?
June 5, 2014 at 7:24 am #206409CaseyParticipantmemeco,
Thanks for reaching out! Any time that you’d like to customize a view of the Events Calendar, the best approach is to perform a template override. This will ensure that your customizations don’t get overwritten the next that you update the plugin. Take a look at our themer’s guide, which will show you how to do this.If you’re referring to the ‘Upcoming Events’ list, then you want to perform an override on ‘the-events-calendar/views/list/single-event.php’. Then you can use tribe_get_start_date() to display the date in the title like this: http://pastebin.com/aGvMs4Nh
Hopefully that gets you started in the right direction, but let me know if you have further questions. Thanks! π
-Casey-
June 24, 2014 at 11:23 am #247649CaseyParticipantI just wanted to follow up and see if youβre all set here or if you still have further questions. Just let me know if you have further questions or if I should go ahead and close out this thread. Thanks! π
-Casey-
June 24, 2014 at 2:31 pm #248207memecoParticipantOps, sorry. It did answer my doubts, thank you very much! I am without Internet at home, that’s why I didn’t see your post the first time. =]
June 24, 2014 at 8:13 pm #248856CaseyParticipantGreat! Thanks for confirming that this got you sorted. Since it looks like you’re all set, I’m going to mark this thread “Answered” and close it out.
By the way, if you have a minute or two, we would love it if you’d write a few words for us here: http://m.tri.be/lo
Thanks in advance. π
Cheers,
Casey -
AuthorPosts
- The topic ‘Adding [Date] to blog loop events title’ is closed to new replies.