HEX
Server: Microsoft-IIS/8.5
System: Windows NT YDAWBH120 6.3 build 9600 (Windows Server 2012 R2 Standard Edition) AMD64
User: tentjecom_web (0)
PHP: 7.4.14
Disabled: NONE
Upload Files
File: D:/HostingSpaces/PDeckers/dcinstal.com/wwwroot/wp-content/plugins/wp-pagenavi/test.php
<?php
// Template Name: WPN Debug

get_header();

query_posts( array( 'post_type' => 'post', 'paged' => get_query_var( 'paged' ) ) );
?>

<div id="primary">
	<div id="content" role="main">

	<ul>
	<?php while ( have_posts() ) : the_post(); ?>
		<li><?php the_title(); ?>
	<?php endwhile?>
	</ul>

	<?php wp_pagenavi(); ?>
	<?php echo wp_pagenavi( array( 'echo' => false ) ); ?>

	</div><!-- #content -->
</div><!-- #primary -->

<?php get_footer(); ?>