custom taxonomy calendar pagination

Home Forums Calendar Products Community Events custom taxonomy calendar pagination

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #1423099
    College Dawson
    Participant

    Ive added a custom taxonomy and played around with some query variables and am able filter tribe_event_cat with event_audience.

    The problem is whe I click to see the next or previous month on the calendar the query variable for my custom taxonomy isn’t available in the tribe_get_next_month_link and tribe_get_previous_month_link filters.

    Can you provide guidance on how to work around this issue? Seems to be an ajax request on next and previous month buttons

    #1424527
    Andras
    Keymaster

    Hello College Dawson,

    Thanks for reaching out to us with your question.

    If you would like to modify the urls of said buttons you can use the tribe_get_previous_month_link filter. Something like this:

    function change_past_month_link( $html ) {
    $html = $html . "&custom-taxonomy=custom-value";
    return $html;
    }
    add_filter( 'tribe_get_previous_month_link', 'change_past_month_link' );

    Note that I haven’t tested this but this is the principle.

    The filter for the next month is “tribe_get_next_month_link”.

    Let me know if this helps.

    Cheers,
    Andras

    #1443164
    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 ‘custom taxonomy calendar pagination’ is closed to new replies.