New Landing How can we help? Themeforest Theme Support Neighborhood Wishlist Pagination Question

Viewing 5 posts - 1 through 5 (of 5 total)
  • #168093
    saturnerond
    Member
    Post count: 39

    Hi Swift team,

    When looking at the Theme wishlist.php file it looks like the Wishlist plugin would support pagination.

    // from line 233 :
    if( isset( $page_links ) ) : ?>
    <tr>
    <td colspan="6"><?php echo $page_links ?></td>
    </tr>
    <?php endif ?>

    However I never have pagination on wishlists and instead constantly get an empty row at the end of the product list table and before the “share” div.
    Did I forget to activate something somewhere?
    In any case, is it possible to either have pagination or get rid of this empty row?
    I attach a screenshot so that you can see what I mean. The wishlist there has 19 products.

    Thanks,
    Ammie

    Attachments:
    You must be logged in to view attached files.
    #168103
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    Hi,

    Do you have a link so we can check both issues?

    -Rui

    #168171
    saturnerond
    Member
    Post count: 39

    No unfortunately, and cannot say when I will have one. My brother is so slow at providing content that I’ve been unable to make his website live for more than 1 year now.

    The issue might be partly with YITH. I changed the theme wishlist.php file name to force the theme to use the plugin one (see 2nd attached screenshot). The wishlist page looks a bit messed up, but —
    1- I then no longer get an empty row :
    – The product table is not wrapped in a form
    – The above and previously “empty” row (<tr><td colspan=”6″></td></tr> according to Firebug) is no longer in the table tbody but in a tfoot (that doesn’t exist in the theme wishlist.php template) AND it includes the “share” div. So maybe there is a bit of a markup issue here
    2- However I still do not have pagination. Basically and either with the YITH or theme wishlist template, the “echo $page_links” doesn’t echo anything.

    I also deactivated all plugins except those required by the theme and so far cannot see an obvious conflict.

    From a selfish point of view, pagination is not a real issue for me as I do not especially need it. The empty row is more annoying as it makes share links less visible.

    Thanks again,
    Ammie

    Attachments:
    You must be logged in to view attached files.
    #168189
    saturnerond
    Member
    Post count: 39

    Okay. Update from YITH documentation (better late than never?).

    The wishlist page uses the [yith_wcwl_wishlist] shortcode.

    IF we want wishlist pagination and display say 5 products per page, we need to use instead : [yith_wcwl_wishlist per_page=”5″ pagination=”yes”].
    So in fact yes, wishlist pagination is ugly, but working when using the shortcode attributes.

    IF we don’t like this ugly pagination, we have to live with the empty row.

    Voilà. Thank you for your patience,
    Ammie

    #168424
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    No problem. Let us know when you push your site live, we will help you remove it.
    -Rui

Viewing 5 posts - 1 through 5 (of 5 total)

You must be logged in and have valid license to reply to this topic.

License required for one of the following items
Login and Registration Log in · Register