It appears Astra applies its pagination settings later than Toolset, thereby overriding them.
You will need to use code to disable the application of the Astra setting on the archives that you specify.
Here's a simple example to dis-apply the Astra settings on the 'event' post type archive:
/**
* Remove Astra archive pagination setting for specified archive
*/
add_action( 'parse_tax_query', 'ts_mod_archive_pagination', 1, 1 );
function ts_mod_archive_pagination( $query ){
if ( ! is_admin() && $query->is_main_query() ) {
// Check if it is the archive page for the 'event' post type
if ( $query->is_post_type_archive( 'event' ) ) {
remove_action( 'parse_tax_query', 'astra_blog_post_per_page', 10, 1 );
}
}
}
You'll need to modify that to test for the particular archives this should apply to.
The topic ‘[Closed] Astra Theme override archive's "Display items per page" for pagination’ is closed to new replies.