Beat @ WP Page Numbers

Beat

hi,

I edited the code from:

if ( $total_pages == 1 ) { return null;}

to

if ( $total_pages == 1 || $total_pages == 0 ) { return null;}

Now it doesn’t show them in the search when there are no results.
Before my edit it showed Pages 1 of 0 ;)

Thanks for the great code :)