We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi, I have error on listing page with limited job post to 10. When I click 2,3 etc page i have error 404
At function.php i have add ( see at previous topic) code
function wphelp_custom_pre_get_posts( $query ) { if( $query->is_main_query() && !$query->is_feed() && !is_admin() && is_category() ) { $query->set( 'paged', str_replace( '/', '', get_query_var( 'page' ) ) ); } } add_action( 'pre_get_posts', 'wphelp_custom_pre_get_posts' ); function wphelp_custom_request( $query_string ) { if ( isset( $query_string['page'] ) ) { if ( '' != $query_string['page'] ) { if ( isset( $query_string['name'] ) ) { unset( $query_string['name'] ); } } } return $query_string; } add_filter( 'request', 'wphelp_custom_request' );
also permalink slug’s are ok but still have 404
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi, I have error on listing page with limited job post to 10. When I click 2,3 etc page i have error 404
At function.php i have add ( see at previous topic) code
function wphelp_custom_pre_get_posts( $query ) { if( $query->is_main_query() && !$query->is_feed() && !is_admin() && is_category() ) { $query->set( 'paged', str_replace( '/', '', get_query_var( 'page' ) ) ); } } add_action( 'pre_get_posts', 'wphelp_custom_pre_get_posts' ); function wphelp_custom_request( $query_string ) { if ( isset( $query_string['page'] ) ) { if ( '' != $query_string['page'] ) { if ( isset( $query_string['name'] ) ) { unset( $query_string['name'] ); } } } return $query_string; } add_filter( 'request', 'wphelp_custom_request' );
also permalink slug’s are ok but still have 404
The text was updated successfully, but these errors were encountered: