Change Week Widget Start Date & Title

Home Forums Calendar Products Events Calendar PRO Change Week Widget Start Date & Title

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1361908
    Jeff Bulzak
    Participant

    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 total

    The 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!

    #1362538
    Andras
    Keymaster

    Hi 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,
    Andras

    #1363603
    Jeff Bulzak
    Participant

    Thank you very much – I managed to figure it out πŸ™‚

    #1364332
    Andras
    Keymaster

    Stoked 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,
    Andras

    PS: 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!

     

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Change Week Widget Start Date & Title’ is closed to new replies.