-
AuthorPosts
-
October 26, 2014 at 11:01 am #132489
Searched the forum, but didn’t find a solution
Pls look at my woocommerce shop here: http://loose-goose.com/loose-goose-shop/ – scroll to the bottom and you will see the (pagination) numbers for next pages are in a vertical column
ie:
1
2
3
4
5
6I want to change it like the sample: http://theme.co/x/demo/shop/integrity/shop/ where there are horizontal buttons
Any ideas where I make the changes or what file I have to edit?
Thanks for your help!
John
October 26, 2014 at 3:34 pm #132574Hi John,
Thanks for posting in.
It should be just the same. Though I noticed that your pagination has wrong class name.
Your pagination is like this
<ul class="page-numbers"></ul>
which should be like this
<ul class="pagination"></ul>
It could only happen when you change coding or added customization that affect core feature. Would you mind providing us with login credentials so we can take a closer look? To do this, you can make a post with the following info:
– Link to your site
– WordPress Admin username / password
– FTP credentialsDon’t forget to select Set as private reply. This ensures your information is only visible to our staff.
Thanks.
October 26, 2014 at 4:48 pm #132596Thanks for your help – I had updated the woocommerce pagination to X theme woocommerce. That broke the pagination.
Restored the X theme woocommerce pagination file and now it works…
Cheers – John
October 26, 2014 at 9:58 pm #132707Glad it’s working now John.
October 27, 2014 at 11:13 am #133091This reply has been marked as private.October 27, 2014 at 12:21 pm #133138Hi John,
Thank you for writing in!
Upon checking, it seems you have made some changes in parent X theme’s WooCommerce file wp-content/themes/x/framework/woocommerce/loop/pagination.php that’s causes this issue. Please replace entire content the that file with following:
<?php // ============================================================================= // WOOCOMMERCE/LOOP/PAGINATION.PHP // ----------------------------------------------------------------------------- // @version 2.2.2 // ============================================================================= if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly global $wp_query; if ( $wp_query->max_num_pages <= 1 ) return; ?> <nav class="pagination"> <?php echo paginate_links( apply_filters( 'woocommerce_pagination_args', array( 'base' => str_replace( 999999999, '%#%', remove_query_arg( 'add-to-cart', get_pagenum_link( 999999999 ) ) ), 'format' => '', 'current' => max( 1, get_query_var( 'paged' ) ), 'total' => $wp_query->max_num_pages, 'prev_text' => '←', 'next_text' => '→', 'type' => 'list', 'end_size' => 3, 'mid_size' => 3 ) ) ); ?> </nav>
Hope this helps. 🙂
Thank you.
October 27, 2014 at 12:52 pm #133160Thanks you! It seems to be working right now! Cheers for the great support!
October 27, 2014 at 2:26 pm #133235Glad we were able to help. 🙂 Have a nice day.
December 4, 2015 at 2:35 pm #692340I have the same problem, but I don’t believe that I have done anything to change any code as indicated in this thread.
http://new.propacusa.com/product-category/cert-kits-supplies/cert-apparel/ is a sample page
I am also not sure why I am not getting 4 products per row the way I’ve set it… I’m regenerating thumbnails with the image size settings in woocommerce right now – maybe that will help, but I need to fix the pagination issue. I’ll send credentials in next message.
December 4, 2015 at 2:39 pm #692347This reply has been marked as private.December 4, 2015 at 4:32 pm #692484This reply has been marked as private.December 4, 2015 at 4:57 pm #692528This reply has been marked as private.December 4, 2015 at 8:10 pm #692741Hi there,
I’d like top help but I’m not able to log in. It doesn’t even display error if it’s incorrect. Could it be installation issue?
Please provide a working copy of your login 🙂
Thanks.
December 5, 2015 at 7:18 am #693239This reply has been marked as private.December 5, 2015 at 7:43 am #693259Hi there,
You have latest version of woocommerce which is compatible with latest version of X and cornerstone. Please update both X and cornerstone to fix any incompatibility issues.
Thanks.
-
AuthorPosts