Home › Forums › Calendar Products › Events Calendar PRO › Change Week Widget Start Date & Title
- This topic has 4 replies, 2 voices, and was last updated 6 years, 6 months ago by Jeff Bulzak.
-
AuthorPosts
-
October 10, 2017 at 10:48 pm #1361908Jeff BulzakParticipant
Hi,
Thank you again for your support in advance. Here’s my current challenge.
Here’s the URL: http://bocacal.com/
At the moment I am looking to display a Week Vertical View in a widget, displaying only 3 days forward (including the day off).
I’ve been able to figure out how to change the following:
– Next/Previous buttons to browse 3 days forward or backwards
– Display only 3 Days totalThe issues I am having are:
– Start date to be today
– Change the Title from “Events for week of October 8, 2017” to “This Week at a Glance”Looking forward to your help.
Thanks!–
October 12, 2017 at 6:43 am #1362538AndrasKeymasterHi Jeff,
Thanks for using our plugins and welcome to the forums! Let me try to help you out with this.
As for the title change you can do 2 things:
1. Add a widget title and hide the original title with css.
2. Create a template override for this file:
wp-content\plugins\events-calendar-pro\src\views\pro\widgets\this-week-widget.php
You can find detailed info on creating template overrides in our Themer’s Guide.
As for the starting date I believe you would need to influence the ‘tribe_get_this_week_first_week_day’ function inΒ events-calendar-pro\src\functions\template-tags\widgets.php.
Hope this helps you get started. Let me know if you need further guidance.
Cheers,
AndrasOctober 13, 2017 at 7:55 pm #1363603Jeff BulzakParticipantThank you very much – I managed to figure it out π
October 16, 2017 at 2:33 pm #1364332AndrasKeymasterStoked to hear Jeff, awesome!
Since this is marked resolved I am going to close this ticket, but if you need anything else related to this topic or another please create a new ticket and we’ll be happy to help.
Cheers,
AndrasPS: If you like our plugins, and you didn’t yet do so π we would be happy to receive a review in the wordpress.org repository. Thanks!
https://wordpress.org/support/view/plugin-reviews/the-events-calendar/PS2: We’d be also grateful if you would give us feedback on your satisfaction with support. Just click on one of the classy looking emojis below. π If you can spare a few words, that’s even better. Doublethanks!
-
AuthorPosts
- The topic ‘Change Week Widget Start Date & Title’ is closed to new replies.