Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1209337

    Hello,

    I do not want to be redirected to a thread that has been written in 2015, can someone ( an admin ) please provide step by step instructions that are up to date with the current theme in regards to how to remove the themes pagination throughout the entire theme.

    I do not want to use the enfold pagination, I do not want to reference it anywhere either, I want to simply use the default wordpress pagination, without any errors in code, css or etc.

    I am aware it is probably somewhere in

    /config-woocommerce/config.php

    Thank you for any assistance and help in accomplishing this task.

    #1211045

    Hey MrPoBoi,

    Thank you for the inquiry.

    You can add this snippet in the functions.php file to remove the theme’s pagination and bring the default one back in the product template.

    add_action('after_setup_theme', function() {
        remove_action( 'woocommerce_after_shop_loop', 'avia_woocommerce_after_shop_loop', 10);
        add_action( 'woocommerce_pagination', 'woocommerce_pagination', 10 );
    }, 10);
    

    Best regards,
    Ismael

    #1211732

    Awesome!

    This seems like a really easy fix these days!

    Thank you for your time and help.

    #1211978

    Hi,

    Great, I’m glad that Ismael could help you out. Please let us know if you should need any further help on the topic or if we can close it.

    Best regards,
    Rikard

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.