Can I use week view when placing the calendar in a page template?

Home Forums Calendar Products Events Calendar PRO Can I use week view when placing the calendar in a page template?

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #131176
    vitaldesign
    Participant

    I’m trying to add the calendar to one of my page templates and the current selected view in Settings is Week. However, when I use the template tag tribe_calendar_grid() it renders the entire calendar, header, nav, month view and all. Is there a way for me to just output the current week of events in week view using template tags?

    #131383
    Barry
    Member

    Hi!

    Embedding views in other pages/posts is possible but not natively supported at this time, so you’d really need to figure out the fine detail of this one by yourself, I’m afraid – but in essence I’d recommend using tribe_get_view() to pull in week view and setting up the same scripts and styles as regular week view depends on.

    Does that help at all?

    #505711
    Barry
    Member

    Hi! It’s been a while so I’m going to go ahead and close this thread. If we can help with anything else, though, please don’t hesitate to create new threads as needed. Thanks!

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Can I use week view when placing the calendar in a page template?’ is closed to new replies.