How can I show the canlendar (month view) in a specific page?

Home Forums Welcome! Pre-Sales Questions How can I show the canlendar (month view) in a specific page?

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #1112011
    Irving
    Participant

    Using the the_widget function, what is the name of the widget to be shown as a month view in a specific page?

    #1112032
    George
    Participant

    Hey @Irving!

    Thanks for reaching out.

    The “Month View”—and any of the main calendar views—are not widgets, and at this time are not portable and cannot be added to other pages. There is the main /events slug for the calendar on your site, and this is the only place where the main calendar views can exist.

    Now, there is a “Mini Calendar” widget, which does look somewhat similar to the Month View. But it is not the same as the Month View, and cannot be made the same as the Month View without an immense amount of code modification and customization far beyond the scope of support. 🙁

    If you’re interested in calling this widget via WordPress’ the_widget() function, you can do so like this:


    the_widget( 'Tribe__Events__Pro__Mini_Calendar_Widget' );

    However, this is much harder to pass arguments to and work with, and so if you need some more flexibility, I would recommend using the widget shortcode instead—no worries, you can still use PHP to generate this by using the do_shortcode() function instead:


    echo do_shortcode( '[tribe_mini_calendar category="party"]' );

    Learn more about do_shortcode() here and learn more about the widget shortcodes here.

    Cheers,
    George

    #1117840
    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 3 posts - 1 through 3 (of 3 total)
  • The topic ‘How can I show the canlendar (month view) in a specific page?’ is closed to new replies.