URL parameters to limit number of results

Home Forums Calendar Products Events Calendar PRO URL parameters to limit number of results

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #1357911
    Colin Carmichael
    Participant

    99% of the time, I want the default number of events displayed as set in my settings (currently 50). However, I would like to be able to control this with a URL parameter, if possible. In particular, I would like to send an end date parameter, so that I can show only events that fall between, for example, October 8 and October 14 (next week). Is this possible? (The first date is easy, of course using “tribe-bar-date=2017-10-08”)

    #1358602
    Cliff
    Member

    Hi, Colin.

    If you’re wanting the date range to be a user-facing option in the Tribe Bar, please add your vote to this existing feature request: https://tribe.uservoice.com/forums/195723-feature-ideas/suggestions/4157351-date-range-picker

    This allows us to gauge interest in this particular feature request, which helps us prioritize our development efforts.

    Please let me know if this existing feature request does not match what you’re wanting and I might be able to point you in the right direction to get started with some custom coding.

    #1359104
    Colin Carmichael
    Participant

    That suggestion is great and I’ve now voted for it. I was hoping, though, that there was an undocumented URL param for “end date” that I could use myself. What I’m trying to do is print (yes, on paper) just “This week’s events”.

    #1359338
    Cliff
    Member

    Our PRO add-on enables the Week View (demo: http://wpshindig.com/events/week/)

    Will that work for you?

    And this snippet might be a start for you adding some printer-friendly styling:

    https://gist.github.com/cliffordp/edec7dff1e2d92333682759d0b8de7de

    Please let me know how things go for you.

    #1369382
    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 5 posts - 1 through 5 (of 5 total)
  • The topic ‘URL parameters to limit number of results’ is closed to new replies.