Home › Toolset Professional Support › [Resolved] Why can't I see the second page?
This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.
Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.
Our next available supporter will start replying to tickets in about 3.40 hours from now. Thank you for your understanding.
Sun | Mon | Tue | Wed | Thu | Fri | Sat |
---|---|---|---|---|---|---|
- | 10:00 – 13:00 | 10:00 – 13:00 | 10:00 – 13:00 | 10:00 – 13:00 | 10:00 – 13:00 | - |
- | 14:00 – 18:00 | 14:00 – 18:00 | 14:00 – 18:00 | 14:00 – 18:00 | 14:00 – 18:00 | - |
Supporter timezone: Asia/Kolkata (GMT+05:30)
This topic contains 17 replies, has 2 voices.
Last updated by 直子 村上 2 years, 7 months ago.
Assisted by: Minesh.
See the following URL.
Then click on the second pager at the bottom of the page.
Why can't I see it?
※ Please,hide the site domain.
https:// (domain) /sp-subsidy/?wpv_view_count=2768&wpv-wpcf-sp-subsidy-start=&wpv-wpcf-sp-subsidy-start-format=Y%2Fn%2Fj&wpv-wpcf-sp-subsidy-end=&wpv-wpcf-sp-subsidy-end-format=Y%2Fn%2Fj&wpv_post_search=SDGs&wpv_sort_orderby=field-wpcf-sp-subsidy-end&wpv_sort_order=desc&wpv_filter_submit=%E3%80%80%E3%80%80%E3%80%80%E6%A4%9C%E7%B4%A2%E3%80%80%E3%80%80%E3%80%80
Hello. Thank you for contacting the Toolset support.
I'm not sure why its not working as even when we move to the 2nd page it adds the URL param wpv_paged=2 instead.
For example:
- hidden link
Can you please try few debugging steps:
- please make sure your are using latest Toolset plugins
- *** Please make a FULL BACKUP of your database and website.***
Could you please try to resolve your issue by deactivating all third-party plugins as well as with the default theme to check for any possible conflicts with any of the plugins or themes? - Do you see any difference? If no:
I will require admin access details to check whats going wrong with your setup.
*** Please make a FULL BACKUP of your database and website.***
I would also eventually need to request temporary access (WP-Admin and FTP) to your site. Preferably to a test site where the problem has been replicated if possible in order to be of better help and check if some configurations might need to be changed.
I have set the next reply to private which means only you and I have access to it.
The server protection details is not working. Can you please send me working server protection details.
I have set the next reply to private which means only you and I have access to it.
I’m so sorry.
I have restricted access to the site.
When I try to access the wp-admin with login form it asks for captcha, can you please disable that for now as its asking in your (Japanese) language and I wont be able to input those characters or not able to read it.
I'm sorry.
I have disabled the plugin that is causing the problem.
==========
The account information to remove access restrictions
Please see the Private Message #2333275
"***** access restriction *****"
I see and this is not a normal behavior. There must be the addon plugin or theme that rewrites the pagination URLs.
*** Please make a FULL BACKUP of your database and website.***
Could you please try to resolve your issue by deactivating all third-party plugins as well as with the default theme to check for any possible conflicts with any of the plugins or themes?
- Have you tried deactivating third-party plugins and check with default theme with only Toolset plugins active?
Thank you very much.
I changed the theme to "Twenty Twenty-One" and it works fine.
I tried turning off all plugins except those required for it to work, but they had no effect.
Could you tell me how to keep the theme the same?
So, you will require to contact the theme support and check with them what code is responsible which they added that turns pagination links not working. They must have added rewrite rules to turn URL param paged or something.
Thank you!
For example, the phenomenon occurs with "case A", but not with "case B". Is it possible for Toolset to investigate this?
case A
search keyword: "SDGs"
(Site URL)/sp-subsidy/page/2/?wpv-wpcf-sp-subsidy-start-format=Y%2Fn%2Fj&wpv-wpcf-sp-subsidy-end-format=Y%2Fn%2Fj&wpv_view_count=2768&wpv-wpcf-sp-subsidy-start&wpv-wpcf-sp-subsidy-end&wpv_post_search=SDGs&wpv_sort_orderby=field-wpcf-sp-subsidy-end&wpv_sort_order=desc&wpv_filter_submit=%E3%80%80%E3%80%80%E3%80%80%E6%A4%9C%E7%B4%A2%E3%80%80%E3%80%80%E3%80%80
case B
search keyword: "助成金"
(Site URL)/sp-subsidy/page/2/?wpv-wpcf-sp-subsidy-start-format=Y%2Fn%2Fj&wpv-wpcf-sp-subsidy-end-format=Y%2Fn%2Fj&wpv_view_count=2768&wpv-wpcf-sp-subsidy-start&wpv-wpcf-sp-subsidy-end&wpv_post_search=%E5%8A%A9%E6%88%90%E9%87%91&wpv_sort_orderby=field-wpcf-sp-subsidy-end&wpv_sort_order=desc&wpv_filter_submit=%E3%80%80%E3%80%80%E3%80%80%E6%A4%9C%E7%B4%A2%E3%80%80%E3%80%80%E3%80%80
When you switch to default theme - do you see both cases are working Case A and Case B? If yes, you will require to check with theme support and if they point out that Toolset is the issue here we are happy to look at it further.
Thank you!
I contacted the theme creator and received the following response.
************
It seems that the plugin you are using has a specification that the second and later pages of search results get a 404 HTTP status & that index.php is used after the second page.
The theme has an empty index.php, so it tries to use index.php and as a result nothing is displayed.
This is solution.
```
// HTTP status remains 404, use archive.php instead of index.php
add_filter(
'snow_monkey_controller',
function( $controller ) {
$paged = get_query_var( 'paged' );
$post_type = get_query_var( 'post_type' );
if ( $paged && 'sp-subsidy' === $post_type ) {
return get_theme_file_path( 'archive.php' );
}
return $controller;
}
);
```
************
And I added this code.
hidden link
Am I correct?
You may try to add it to your current theme's functions.php file and check if that helps.
Sorry for the lack of explanation.
I used the plugin "Code Snippets" to add the PHP.
The following URL is the relevant part.
It is working as I expected.
https://(domain)/wp-admin/admin.php?page = edit-snippet&id = 3
if its working as expected, you are welcome to mark resolve this ticket 🙂