Navigation überspringen

[Gelöst] Disable and remove Astra theme pagination

This support ticket is created vor 8 Monaten, 1 Woche. 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)

Dieses Thema enthält 2 Antworten, hat 2 Stimmen.

Zuletzt aktualisiert von Minesh vor 8 Monaten, 1 Woche.

Assistiert von: Minesh.

Author
Artikel
#2757937
pag1.jpg
pag2.jpg

Hi,

I have a website with the Astra Theme, WooCommerce, and Toolset installed. I built custom archives for product categories, posts, categories, and some other taxonomies. I want to use Toolset pagination. I disabled pagination in the Astra archive settings, but I still see double pagination. I don’t want to hide it with CSS—I’d prefer to completely remove it from the entire website.

Is this possible?

I tried using some Astra hooks, but they didn’t work.

Cheers

#2758087

Minesh
Unterstützer

Sprachen: Englisch (English )

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

Hello. Thank you for contacting the Toolset support.

There are few known issues with Astra compatibility and I do not have any ETA when the official fix will be made available.

The most popular way to hide the pagination section is using by adding custom CSS.
- https://wordpress.org/support/topic/how-to-remove-not-display-page-numbers/

If this is not the thing you want then you may check with Astra support and check with them if they have any hook available that should help you to fix the issue.

#2758094

Minesh
Unterstützer

Sprachen: Englisch (English )

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

However, I found a hook "astra_blog_post_per_page" that might help you:

Here is the related ticket that might help you:
- https://toolset.com/forums/topic/astra-theme-override-archives-display-items-per-page-for-pagination/#post-2679430

You can adjust the code as required.

#2761333

Hey, Astra Theme support gave me the solution to completely remove the woocommerce pagination from archives:

remove_action( 'woocommerce_after_shop_loop', 'woocommerce_pagination', 10 );

cheers