diff --git a/inc/extras.php b/inc/extras.php index 281c463..cb62ea5 100644 --- a/inc/extras.php +++ b/inc/extras.php @@ -59,7 +59,7 @@ function _s_wp_title( $title, $sep ) { } // Add a page number if necessary: - if ( $paged >= 2 || $page >= 2 ) { + if ( ( $paged >= 2 || $page >= 2 ) && ! is_404() ) { $title .= " $sep " . sprintf( __( 'Page %s', '_s' ), max( $paged, $page ) ); }