Set different Posts per Page
-
WP 6.0.2, TEC 6.0.0.1
I would like to set a different Posts per Page for TEC than is set in Settings->Reading. That is set to 6, and I’d like the calendar (list view) to show at least 20.
I tried following the directions in the TEC knowledgebase, adding the filter
add_filter( 'tribe_events_views_v2_view_latest-past_repository_args', function( $args, $context, $view ) { $args['posts_per_page'] = 20; // Or whatever... return $args; } );
but it’s not working. I cleared my site cache and browser cache, but still no change.
Is there another way to do this or am I missing something?
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Set different Posts per Page’ is closed to new replies.