Custom taxonomy and search for tribe_events

Home Forums Calendar Products Events Calendar PRO Custom taxonomy and search for tribe_events

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #20868
    Jesse
    Member

    I’ve added an additional taxonomy to tribe_events, called “neighborhood”. When at that taxonomy archive page, which uses taxonomy-neighborhood.php template in my theme, recurring events are not displayed (only one of the recurring events). The same happens on my search template. I’m currently using

    while ( have_posts() ) : the_post();

    to display the events.

    Doing:


    $taxonomy_events = tribe_get_events(array(
    'eventDisplay' => 'upcoming',
    'taxonomy' => get_query_var('taxonomy')
    ));
    foreach($taxonomy_events as $post) {
    // etc. etc.

    seems to work, but the pagination (next/previous links) does not work.

    Is there a way to paginate posts using get_tribe_events(), or a way to make the custom taxonomy archive behave correctly with recurring events?

    thanks!

    #20948
    Joyce Grace
    Member

    Hi Jesse, I just wanted you to know that I’ve gotten your message and while this is outside my area of expertise, I am going to ask Jonah to have a look at it. Sorry I can’t be of more immediate help!

    Just to be sure, have you looked at our Themer’s guide? https://theeventscalendar.com/support/documentation/events-calendar-themers-guide/

    It might not have the exact answer you’re looking for but it might lead you in the right direction in the mean time.

    #21102
    Jonah
    Participant

    Hi Jesse,

    Have you seen this: https://theeventscalendar.com/queries-and-pagination/

    Does that help?

    – Jonah

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Custom taxonomy and search for tribe_events’ is closed to new replies.