<?php if(get_theme_mod('magazine_news_agency_show_pagination', true )== true): ?>
	<?php
		the_posts_pagination( array(
			'prev_text' => esc_html__( 'Previous page', 'magazine-news-agency' ),
			'next_text' => esc_html__( 'Next page', 'magazine-news-agency' ),
		) );
	?>		
<?php endif; ?>