Andrew

Forum Replies Created

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • in reply to: Event category archives are only displaying 3 posts #28697
    Andrew
    Member

    I have found a solution. I was able to track down in the functions file where they were controlling the is_archive posts per page and modify it a bit. I’m not sure if this is correct, but it seems to work.

    elseif ( $query->is_archive ) {
    if ( ! ($query->queried_object->taxonomy === TribeEvents::TAXONOMY) ) return;
    $query->set( ‘posts_per_page’, et_get_option( $shortname . ‘_archivenum_posts’ ) );
    }

    in reply to: Event category archives are only displaying 3 posts #28268
    Andrew
    Member

    I do have some custom code on list.php, but nothing to change the query. I just realized it’s probably my parent theme, Evolution. There’s a setting in the theme options…Number of Posts displayed on Category page. It’s set to 3. Go figure. Anyhow I’m not sure how to have the event category pages over rule this. Any thoughts?

Viewing 2 posts - 1 through 2 (of 2 total)