max_num_pages; $range = 2; $showitems = ( $range * 2 ) + 1; $post_pagination = ashe_options( 'blog_page_post_pagination' ); if ( empty( $paged ) ) { $paged = 1; } if ( ! $pages ) { $pages = 1; } if ( $pages == 1 ) { return; } // Check for WooCommerce if ( class_exists( 'WooCommerce' ) ) { if ( is_shop() ) { $post_pagination = 'numeric'; } } ?>