tribe_calendar_grid() doesn’t show the full menu like the CPT pages

Home Forums Calendar Products Events Calendar PRO tribe_calendar_grid() doesn’t show the full menu like the CPT pages

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #20870
    Andrew
    Member

    So basically it shows the calendar only, and not the month to month navigation, etc. at the top of the calendar. Is there another template tag to display the same calendar layout as on the custom post types pages or if not what would I need to do to modify tribe_calendar_grid()?

    What I’m wanting is what is happening in /views/gridview.php in the standard plugin. Do I just copy/paste this over to /events/table.php or is there a quicker way?

    #20906
    Andrew
    Member

    I was able to get this working by copying the navigation elements out of gridview.php and putting into table.php and surrounding it with an is_home() conditional.

    It is still preferable to have the template tag do this automatically though as I need to use it in other places than home and it doesn’t make sense to have to build in a bunch of conditional checks on what page I’m on, etc.

    #20943
    Joyce Grace
    Member

    Hi Andrew, I’m glad you got a workaround going in the mean time. I have asked Jonah to take a look at this request for you. He should be able to respond soon.

    #21028
    Jonah
    Participant

    Hi Andrew,

    Sorry there is no template tag to embed the fully functioning calendar but you can also do this via an include like so:

    include('wp-content/plugins/the-events-calendar/views/gridview.php');

    I hope that helps!

    – Jonah

    #977171
    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 ‘tribe_calendar_grid() doesn’t show the full menu like the CPT pages’ is closed to new replies.