Home › Forums › Calendar Products › Events Calendar PRO › Mini-Calendar Date Style on List Widget
- This topic has 5 replies, 2 voices, and was last updated 9 years, 8 months ago by Casey.
-
AuthorPosts
-
July 9, 2014 at 9:14 am #322366Jack TumpsonParticipant
Hello,
I really like how the mini-cal widget uses those really styled blocks with the start day and date. I have tried modifying the list-widget.php file but cannot properly get the loop to work. Any suggestions beyond modifying my mini-cal widget which we use else where?
Thanks,
– JordanJuly 10, 2014 at 7:57 am #335176CaseyParticipantJordan,
Thanks for getting in touch! We never recommend that users edit the plugin files directly, since your changes will be lost whenever you update the plugin. Take a look at our themer’s guide, which will show you how to properly override template files.If you’re looking to customize the list widget, then you’ll want to override ‘plugins/events-calendar-pro/views/pro/widgets/list-widget.php.’ The loop is fully contained in that file, so you should be able to modify as needed to just display some blocks that are styled similarly to the mini-cal widget.
Hopefully that’s enough to get you started, but let me know if you have further questions. Thanks! ๐
-Casey-
July 10, 2014 at 8:07 am #335232Jack TumpsonParticipantHello,
I got through all of the above, but cannot find which variable holds the event start date.July 10, 2014 at 8:33 am #335449CaseyParticipantJordan,
Take a look at our Developer Docs, paying particular attention to the tribe_get_start_date() function, which is what I think you’ll need. Thanks! ๐-Casey-
August 14, 2014 at 9:08 am #666877CaseyParticipantI 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-
August 28, 2014 at 6:34 am #706322CaseyParticipantSince I havenโt heard back from you here, Iโm going to go ahead and close out this thread. Feel free to start a new thread if you have further issues. Thanks! ๐
-Casey-
-
AuthorPosts
- The topic ‘Mini-Calendar Date Style on List Widget’ is closed to new replies.