Skip Navigation

[Resolved] Items for page in archive don't work correctly

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
- 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 -
- 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 -

Supporter timezone: Europe/London (GMT+00:00)

This topic contains 9 replies, has 2 voices.

Last updated by giuseppeT-3 10 months ago.

Assisted by: Nigel.

Author
Posts
#2685718

I am trying to:

set 15 items for every page in my wordpress archive but
but whatever number I set, it always results in 10 per page.
the problem started with the latest toolset update

#2685725

Nigel
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/London (GMT+00:00)

Hi there

Could you please share your debug info, as described at https://toolset.com/faq/provide-debug-information-faster-support/

#2685726

yes of course, sorry

#2685748

Nigel
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/London (GMT+00:00)

Thanks for that.

It looks like you are affected by this known issue, if you could please review that and try the suggested workaround.

https://toolset.com/errata/custom-archive-pagination-broken-by-astra-theme/

#2685750

Unfortunately the problem persists

#2685752

Nigel
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/London (GMT+00:00)

Can I get access to your site to check the problem?

1. Where did you add the code?

2. Which archives have this problem that need fixing?

Let me mark your next reply as private so that I can get log-in credentials from you—you may want to create a temporary admin user for me to use that you can later delete. And be sure to have a current backup of your site.

#2685813

Nigel
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/London (GMT+00:00)

OK, thanks for that.

I have been looking at your site but I can't spot the problem.

Would it be okay for me to take a copy of the site to install locally, where I can more easily do some testing?

#2685815

Thanks you Nigel.
I actually thought you solved it. I see the properties correctly now on the page hidden link .
If you deem it necessary I can still provide you with a copy

#2685900

Nigel
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/London (GMT+00:00)

OK, yes, I see the same now as well.

I had to update the code I shared with you—the snippet needs to be edited so that it applies to the correct post types for your site—but at first it didn't appear to be working.

It must have been due to caching still showing the original result, which has now cleared.

Great, I think we can close here, then.

#2685907

yes, now I see, sorry I simply copied/pasted. Thank you, I'm marking the ticket as resolved. Greetings.