Home › Forums › Back End › WordPress Loop Help – wp_pagenavi › Re: WordPress Loop Help – wp_pagenavi
January 1, 2012 at 10:25 pm
#93831
Gelias
Member
Thanks. The date worked. The category no I do not have one, will create one and see how that goes.
As for the search, 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
Please note that I am new to wordpress, so if there is a better way to do what I am doing please let me know.
Thanks again.