tribe_get_events offset to link to next page

Home Forums Calendar Products Events Calendar PRO tribe_get_events offset to link to next page

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #1170044
    Edmondo
    Participant

    Hi,

    I’m building a custom filters+map interface with AJAX and your APIs.
    I’m wondering if there is a way to use tribe_get_events with an offset in order to easely build a pagination.

    Thank you!

    #1170195
    George
    Participant

    Hey Edmonodo,

    Thanks for reaching out!

    Just to set expectations up front, we cannot help or provide insight into custom coding projects, custom implementations of things, etc., per our support policy which can be found online here.

    With that being said, I’m happy to at least try and provide a bit of help here. When it comes to pagination and offsets, for example, you should be able to patch something together by tinkering the very same offset and pagination attributes of the WordPress WP_Query class. tribe_get_events() is essentially a “wrapper” for this class, so any attribute that works for WP_Query can be passed as an argument to tribe_get_events, and it should take effect.

    So when it comes to making custom pagination and such, I would recommend simply reading through the official WP_Query documentation here and tinkering with the options it provides → https://codex.wordpress.org/Class_Reference/WP_Query

    Best of luck with your customizing! Sounds like an interesting project.

    Sincerely,
    George

    #1179910
    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 3 posts - 1 through 3 (of 3 total)
  • The topic ‘tribe_get_events offset to link to next page’ is closed to new replies.