Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter Anyssa Angelica

    (@anyssa-angelica)

    the link above is incorrect,

    you can view it for yourself here, https://www.anyssaangelica.com/wishlist/

    Plugin Author YITHEMES

    (@yithemes)

    Hi Anyssa Angelica,

    I think maybe someway shortcode content is filtered with nl2br() function, that replaces new line with br tags, breaking HTML layout

    Can you please try to copy templates/wishlist-view.php template in your theme root, and delete new lines between form and table attributes?

    <form id="yith-wcwl-form" action="<?php echo esc_url( YITH_WCWL()->get_wishlist_url( 'view' . ( $wishlist_meta['is_default'] != 1 ? '/' . $wishlist_meta['wishlist_token'] : '' ) ) ) ?>" method="post">
    <table class="shop_table cart wishlist_table" cellspacing="0" data-pagination="<?php echo esc_attr( $pagination )?>" data-per-page="<?php echo esc_attr( $per_page )?>" data-page="<?php echo esc_attr( $current_page )?>" data-id="<?php echo ( is_user_logged_in() ) ? esc_attr( $wishlist_meta['ID'] ) : '' ?>" data-token="<?php echo ( ! empty( $wishlist_meta['wishlist_token'] ) && is_user_logged_in() ) ? esc_attr( $wishlist_meta['wishlist_token'] ) : '' ?>">

    Let me know if this helps

    Have a nice day ??

    I had the exact same problem. This fix worked the trick! Thanks.

    Plugin Author YITHEMES

    (@yithemes)

    Hi dave9621,

    glad to know you solved your problem; we will update template within next revision of the plugin, to improve themes compatibility

    Have a nice day! ??

    Thread Starter Anyssa Angelica

    (@anyssa-angelica)

    Hi YITHEMES,

    I am new to wordpress, where I can find my ‘theme root’ in order to copy that template?

    Thanks,
    Anyssa

    Plugin Author YITHEMES

    (@yithemes)

    Hi again Angelica,

    no problem ??

    You can find all themes of your installation under wp-content/themes/ path.

    Besides, you can find what theme is currently active on your installation, from your dashboard, in Appearance -> Themes section

    In my case, active theme is Twenty Fifteen, so my current theme root is the directory wp-content/themes/twentyfifteen

    In order to overwrite templates, I should paste them in this directory.

    Hope this helps you
    Have a nice day!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘id="yith-wcwl-form" …’ is closed to new replies.