Could someone give me strength? I installed the wp-pagenavi plugin, but paging is not showing up ...
<?php
$args = array(
'post_type' => 'blog',
'post_status' => 'publish',
'order' => 'DESC',
'posts_per_page' => 3
);
$query = new WP_Query($args);
if($query -> have_posts()){
while($query -> have_posts()){
$query -> the_post();
?>
<div class="noticias-3">
<?php the_post_thumbnail(array()); ?>
<div class="texto-noticias-3">
<h3><?php echo get_excerpt(); ?></h3>
<a href="<?php the_permalink(); ?>"><h4><i class="fa fa-eye" aria-hidden="true"></i> Continue Lendo</h4></a>
</div>
</div>
<?php
}
}
?>
<?php wp_pagenavi(); ?>