Date and time in the widget list (sidebar)

Home Forums Calendar Products Events Calendar PRO Date and time in the widget list (sidebar)

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #1050959
    Samarpan P.
    Participant

    For certain reasons we don’t wont to show the time and the end date in the widget list view (sidebar). We can set the end date to display:none. Not very elegant, but it does the trick. For the start date, however, we can’t set the time to display:none, since time and date are not separated in terms of CSS. Can we change that without touching the core? It would be great, if you could give time and date different CSS classes via span tags. This would make things much more flexible.

    #1051594
    Josh
    Participant

    Hey,

    Thanks for reaching out to us!

    You can modify the display of the list widget by following the Themer’s Guide and copying the associated widget template file from the plugin and into your theme. From there you can make all of the changes that you want to get the widget to display the way you wish.

    Let me know if this helps.

    Thanks!

    #1051660
    Samarpan P.
    Participant

    Hi,

    that doesn’t do the trick. The widget template uses a function to display date and time:

    <?php echo tribe_events_event_schedule_details(); ?>

    It is not possible to change anything on the template level (at least I don’t know how). Any chance by modifying the function via the theme’s functions.php? I’d rather avoid any modifications of the plugin core.

    Thank you!

    #1052728
    Josh
    Participant

    Hey,

    I apologize for the confusion. You can filter that information by utilizing the “tribe_events_event_schedule_details_formatting” filter. You can see how that section is built and determine what you would like to filter out by reviewing the “tribe_events_event_schedule_details” function you mentioned above.

    Let me know if this helps.

    Thanks!

    #1076584
    Support Droid
    Keymaster

    This topic has not been active for quite some time and will now be closed.

    If you still need assistance please simply open a new topic (linking to this one if necessary)
    and one of the team will be only too happy to help.

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Date and time in the widget list (sidebar)’ is closed to new replies.