<?php if($max_num_pages > 1) { ?>
	<div class="eltdf-blog-pag-loading">
		<div class="eltdf-blog-pag-bounce1"></div>
		<div class="eltdf-blog-pag-bounce2"></div>
		<div class="eltdf-blog-pag-bounce3"></div>
	</div>
	<?php
		$number_of_pages = $max_num_pages;
		$current_page    = $paged;
		
		if($number_of_pages > 1){ ?>
			<div class="eltdf-bl-standard-pagination">
				<ul>
					<li class="eltdf-bl-pag-prev">
						<a href="#" data-paged="1"><span class="eltdf-icon-linear-icons lnr lnr-chevron-left"></span></a>
					</li>
					<?php for ($i=1; $i <= $number_of_pages; $i++) { ?>
						<?php
							$active_class = '';
							if($current_page == $i) {
								$active_class = 'eltdf-bl-pag-active';
							}
						?>
						<li class="eltdf-bl-pag-number <?php echo esc_attr($active_class); ?>">
							<a href="#" data-paged="<?php echo esc_attr($i); ?>"><?php echo esc_html($i); ?></a>
						</li>
					<?php } ?>
					<li class="eltdf-bl-pag-next">
						<a href="#" data-paged="2"><span class="eltdf-icon-linear-icons lnr lnr-chevron-right"></span></a>
					</li>
				</ul>
			</div>
		<?php }
	?>
<?php }