Shortcode to simply list events in a given week

Home Forums Calendar Products Events Calendar PRO Shortcode to simply list events in a given week

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #1523335

    I’m looking for a way to list the events in a given week. The “week” attribute in the [tribe_events] shortcode accomplishes this nicely, but with a big, ugly, extraneous hourly calendar underneath the daily events. The This Week widget is really more what I’m looking for, in terms of the look…but it only displays the current week.

    Is there a simple workaround that I’m missing here?

    #1524713
    Jennifer
    Keymaster

    Hi Jerry,

    Thanks for reaching out!

    First, I’m not 100% sure what you’re referring to by an “hourly calendar underneath the daily events” with the week view shortcode. Can you send me a screenshot (or preferably a link to a page where you’re using this shortcode) so that I can take a look? You may be able to do a customization to change this.

    Regarding the This Week widget, you are correct that it only displays the current week by default…are you trying to display events for the entire month? If you can provide a few more details on how you would like it to display, I’ll be happy to try to offer some other suggestions 🙂

    Thanks,

    Jennifer

    #1525165

    Jennifer, hi. Sorry for the delayed response.

    See the attached image…I can display the events for the week of May 13 just fine, but as you can see, I only have all-day “events”…so the big space underneath all day for the times of each event is unnecessary and I’d like to get rid of it.

    An alternative approach would be to use the list view, but doing so pulls in the description and image as well.

    So, in summary: I want to display a simple list of all of the events in a given week, either horizontally (week view) or vertically (list view)…but only with the date and the name of the event, linked to the full description.

    #1526910
    Jennifer
    Keymaster

    Thanks for clarifying! For the week view, you could hide the hours section with CSS (see this post for some example CSS that you could use as a starting point), or you could also do a template override to remove that section. Our themer’s guide has instructions on doing template overrides, and the templates for week view can be found at wp-content/plugins/events-calendar-pro/src/views/pro/week.

    If you would prefer to modify the list view to remove the elements that you don’t want, you can do a template override to accomplish this as well. The templates for list view are at wp-content/plugins/the-events-calendar/src/views/list.

    We are limited in the amount of support that we can provide for customizations, but if you get stuck or have any questions, please let me know – I’ll be happy to point you in the right direction!

    #1530276

    Thanks, Jennifer!

    #1530511
    Jennifer
    Keymaster

    No problem, just let me know if there is anything else that I can help with!

    #1547545
    Support Droid
    Keymaster

    Hey there! This thread has been pretty quiet for the last three weeks, so we’re going to go ahead and close it to avoid confusion with other topics. If you’re still looking for help with this, please do open a new thread, reference this one and we’d be more than happy to continue the conversation over there.

    Thanks so much!
    The Events Calendar Support Team

Viewing 7 posts - 1 through 7 (of 7 total)
  • The topic ‘Shortcode to simply list events in a given week’ is closed to new replies.