WordPress.org

Support

Support » Plugins and Hacks » Include pagination to the top of page.

Include pagination to the top of page.

Viewing 5 replies - 1 through 5 (of 5 total)
  • modify the archive-product.php template file
    Move this:

    <?php
    			/**
    			 * woocommerce_pagination hook
    			 *
    			 * @hooked woocommerce_pagination - 10
    			 * @hooked woocommerce_catalog_ordering - 20
    			 */
    			do_action( 'woocommerce_pagination' );
    		?>

    to just below this:

    <?php do_action('woocommerce_before_shop_loop'); ?>

    Thanks – this is great.

    Is there a reason why the page numbers do not appear?

    you need wp pagenavi for page numbers

    I’m sorry but could expand on that.

    Wouldn’t I using the woo-pagination?

    After spending a couple of hours on this issue, here is the solution:

    Insert <?php do_action('woocommerce_after_shop_loop'); ?> after this line <?php if ( have_posts() ) : ?> in the archive-product.php of your woocommerce theme (shopifiq in my case).

    Hope this helps!

    Puiu

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Include pagination to the top of page.’ is closed to new replies.