My category page navigation doesn't seem to be showing up at all, what am I missing in my coding?
<?php get_header(); ?>
<div class="inner-page">
<div class="page-spacer"></div>
<!-- Content Start -->
<div id="content-top"></div>
<div id="category-content-wrapper">
<div id="category-content" role="main">
<?php if ( have_posts() ) : ?>
<header class="page-header">
<div class="page-title category-title">
<h1>
<?php
printf( __( '%s', 'rsi' ), '' . single_cat_title( '', false ) . '' );
?>
</h1>
</div>
<?php
$category_description = category_description();
if ( ! empty( $category_description ) )
echo apply_filters( 'category_archive_meta', '<div class="category-archive-meta">' . $category_description . '</div>' );
?>
</header>
<?php wp_pagenavi() ?>
<?php /* Start the Loop */ ?>
<?php
$args = array( 'category' => 5 );
$lastposts = get_posts( $args );
foreach($lastposts as $post) : setup_postdata($post); ?>
<div class="post-holder">
<?php if (has_post_thumbnail( $post->ID ) ): ?>
<?php $image = wp_get_attachment_image_src( get_post_thumbnail_id( $post->ID ), 'single-post-thumbnail' ); ?>
<a href="<?php the_permalink(); ?>">
<div id="custom-bg" style="background-image: url('<?php echo $image[0]; ?>')"> </div>
</a>
<?php endif; ?>
<div class="blog-title">
<h2><a href="<?php the_permalink(); ?>">
<?php the_title(); ?>
</a></h2>
</div>
<div class="blog-excerpt">
<?php the_excerpt(); ?>
</div>
<div class="blog-date"> Posted on:
<?php the_date(); ?>
</div>
</div>
<?php endforeach; ?>
<?php else : ?>
<article id="post-0" class="post no-results not-found">
<header class="entry-header">
<h1 class="entry-title">
<?php _e( 'Nothing Found', 'rsi' ); ?>
</h1>
</header>
<!-- .entry-header -->
<div class="entry-content">
<p>
<?php _e( 'Apologies, but no results were found for the requested archive. Perhaps searching will help find a related post.', 'rsi' ); ?>
</p>
<?php get_search_form(); ?>
</div>
<!-- .entry-content -->
</article>
<!-- #post-0 -->
<?php endif; ?>
<?php wp_pagenavi() ?>
</div>
<!-- #content -->
<div id="sidebar">
<?php if (!function_exists('dynamic_sidebar') || !dynamic_sidebar('Right Sidebar')) : ?>
<?php endif; ?>
</div>
<div class="clear-block"></div>
</div>
<div class="clear-block"></div>
</div>
<div class="clear-block"></div>
<div id="content-bottom"></div>
<!-- Content End -->
</div>
<?php get_footer(); ?>