Skip Navigation

[Resolved] two much pages after search

This support ticket is created 6 years, 9 months ago. There's a good chance that you are reading advice that it now obsolete.

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.

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 6 replies, has 2 voices.

Last updated by kayser 6 years, 9 months ago.

Assisted by: Minesh.

Author
Posts
#628293

Hi

on hidden link
when I choose clown I have three results, but the pagination shows two pages.
My regular pagination is with 20 results.
Maybe a solution ?

Guyk

#628371

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

Well - when I select the "clown" from filter - it's showing me 3 results.
=> hidden link

Is this not your expected output?

#628389
Capture d’écran 2018-03-26 à 16.49.17.png

Hello
Not directly clown
first go to the first search page
hidden link
you get 2 results pages
and if you select clown in drop and down disciplines
you get three results (OK) with two pages(bad).

#628407

Hi
Something similar on
hidden link
if i search with theatre i get 28 results (OK)
but if i go on secund page i get all resuls and not the following 8 results.

#628646

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Well - see the issue - I need to check how you setup your view so that I can investigate whats going wrong there.

However - could you please try to check few basic debug steps:
Could you please try to resolve your issue by deactivating all third-party plugins as well as the default theme to check for any possible conflicts with any of the plugins or themes?

If your issue still persists:
*** 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 would additionally need your permission to de- and re-activate Plugins and the Theme, and to change configurations on the site. This is also a reason the backup is really important. If you agree to this, please use the form fields I have enabled below to provide temporary access details (wp-admin and FTP).

I have set the next reply to private which means only you and I have access to it.

#628744

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Well - it looks like the pagination displayed at bottom right is coming from your theme. You need to adjust your theme file or you can hide it by adding simple CSS code. I've done it for you and added the following CSS to your archive view's Filter's CSS section:

.oceanwp-pagination {display:none; }

And I've add pagination shortcode to your archive's loop output editor and change the items per page to 2 for now so you can check actually pagination is working - you can update it later on as per your requirement:

[wpv-pager-archive-nav-links output="bootstrap" first_last_links="true" previous_next_links="true"]

I can see it's working fine.

More info:
=> https://toolset.com/documentation/user-guides/custom-pagination-for-wordpress-archives/

Secondly, I see that you have had assigned the same archive to display taxonomy archive. You can not filter taxonomy archive with taxonomy terms.

When you try to assign custom search archive with taxonomy you will see a warning in the filter area saying, "This filter will not be applied to Taxonomy Archives matching the filtered taxonomies:"

That's right - you can't filter a taxonomy archive by the same taxonomy. WordPress Archives are not designed to work for a single term within a taxonomy.

One way to get around this is to create a View that acts like an archive for your category term. Create a View that shows all posts, then add a filter by taxonomy term. Add this View to a page and link to this page instead of your archive.

#628773

Thanks a lot Minesh