Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #711087

    Hi,
    i have moved the category description to the bottom of the page and moved also the pagination above the description.

    add_action( 'woocommerce_after_shop_loop', 'enfold_customization_woo_pagination', 9);
    function enfold_customization_woo_pagination()
    {
    			global $avia_config;
    			if(isset($avia_config['dynamic_template'])) return;
    			if(isset($avia_config['overview'] )) echo avia_pagination('', 'nav');
    }
    
    add_action('woocommerce_before_shop_loop', 'remove_desk');
    function remove_desk() {
    	remove_action( 'woocommerce_before_shop_loop', 'woocommerce_taxonomy_archive_description', 11 );
    }
    
    add_action( 'woocommerce_after_shop_loop', 'woocommerce_taxonomy_archive_description', 10 );

    http://botigo.de/produkt-kategorie/damen/shirts-tops/

    How can I remove the “original” pagination ?

    #711975

    Hey naal-kaes,

    Please change your code to following one

    
    add_action( 'woocommerce_after_shop_loop', 'enfold_customization_woo_pagination', 9);
    function enfold_customization_woo_pagination()
    {
    			global $avia_config;
    			if(isset($avia_config['dynamic_template'])) return;
    			if(isset($avia_config['overview'] )) echo avia_pagination('', 'nav');
    }
    
    add_action('woocommerce_before_shop_loop', 'remove_desk');
    function remove_desk() {
    	remove_action( 'woocommerce_before_shop_loop', 'woocommerce_taxonomy_archive_description', 11 );
    	remove_action( 'woocommerce_after_shop_loop', 'avia_woocommerce_after_shop_loop', 10);
    }
    
    add_action( 'woocommerce_after_shop_loop', 'woocommerce_taxonomy_archive_description', 10 );

    Best regards,
    Yigit

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