I am trying to add wp_pagenavi to the category, search and archive page. i am new to WordPress so any help is greatly appreciated.
As for the search page, I have tried everything but reverted back to start before adding wp_pagenavi. Here is the code:
Search Results for ">"" post_count; _e(''); echo $count; wp_reset_query(); ?> Results Found
No posts found. Try a different search?
Here is the code for the archives:
$arc_year = get_the_time('Y');
$arc_month = get_the_time('m');
$posts = query_posts( "year=$arc_year&monthnum=$arc_month" );
$count = count($posts);
?>
Archive Results for ">"" Results Found
Here is the category page. On this page I get the 404 page when you click on page 2.
$count = count($posts);
?>
Again any help is greatly appreciated. You can view the site here: gelias.ca/test