Navigation
This is archived content. Visit our new forum.
  • Author
    Posts
  • #132489

    j_swiss
    Participant

    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
    6

    I 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

    #132574

    Rad
    Moderator

    Hi 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 credentials

    Don’t forget to select Set as private reply. This ensures your information is only visible to our staff.

    Thanks.

    #132596

    j_swiss
    Participant

    Thanks 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

    #132707

    Christian
    Moderator

    Glad it’s working now John.

    #133091

    j_swiss
    Participant
    This reply has been marked as private.
    #133138

    Zeshan
    Member

    Hi 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'    => '&larr;',
          'next_text'    => '&rarr;',
          'type'         => 'list',
          'end_size'     => 3,
          'mid_size'     => 3
        ) ) );
      ?>
    </nav>
    

    Hope this helps. 🙂

    Thank you.

    #133160

    j_swiss
    Participant

    Thanks you! It seems to be working right now! Cheers for the great support!

    #133235

    Cousett
    Member

    Glad we were able to help. 🙂 Have a nice day.

    #692340

    chill986
    Participant

    I 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.

    #692347

    chill986
    Participant
    This reply has been marked as private.
    #692484

    chill986
    Participant
    This reply has been marked as private.
    #692528

    chill986
    Participant
    This reply has been marked as private.
    #692741

    Rad
    Moderator

    Hi 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.

    #693239

    chill986
    Participant
    This reply has been marked as private.
    #693259

    Christopher
    Moderator

    Hi 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.