/** * custom pagination for jet engine */ function jetpagination_elementor_shortcode( $atts ) { the_posts_pagination( array( 'mid_size' => 1, 'end_size' => 1, )); } add_shortcode( 'jet_engine_pagination', 'jetpagination_elementor_shortcode');
/** * custom pagination for jet engine */ function jetpagination_elementor_shortcode( $atts ) { the_posts_pagination( array( 'mid_size' => 1, 'end_size' => 1, )); } add_shortcode( 'jet_engine_pagination', 'jetpagination_elementor_shortcode');