tribe_get_events() not working on events page

Home Forums Calendar Products Events Calendar PRO tribe_get_events() not working on events page

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #64014
    Josh
    Participant

    Having issues displaying all events on a sidebar on the default /events/ page, where you can view the calendar.

    I’m wanting 2 columns, the first one with the main, large calendar, the second column to list the next few upcoming events. Simple!

    However, the following code produces ‘null’. Using the same code on any other page will output my events, just not on /events/. I assume a query would need to be reset or something?

    Sidebar code:
    $all_events = tribe_get_events(); var_dump($all_events);

    #64370
    Kelly
    Participant

    Hi, Josh. It’s great that you’re trying to customize the Events Calendar. Do you mind me asking why you’ve elected not to use the built-in widget for upcoming events? That would probably be the simplest solution.

    I tried to take a look at your site, but it appears you don’t have TEC visible. As far as your code goes, it looks like the fundamental problem may be that you’re passing no parameters to tribe_get_events(). Does that make sense?

    Let me know if there’s anything else we can do to help!

    #980614
    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 ‘tribe_get_events() not working on events page’ is closed to new replies.