• Resolved mohdaljaraba

    (@mohdaljaraba)


    Hello,

    I we have break our title using this code and example :
    <p>title1 <br> <span class="h6">title2 <br> </p>
    and its working everywhere only in the Wishlist page its show like this
    <p>title1 <br> <span class="h6">title2 <br> </p>
    https://prnt.sc/utzkv9
    is there any solution to fix this ?

    best regards

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author YITHEMES

    (@yithemes)

    Hi there

    We escape HTML before printing product title (actually post title isn’t meant to contain HTML)
    Anyway, if you want to work this problem around, just override wishlist-view.php template in your theme folder (copy it from wp-content/plugins/yith-woocommerce-wishlist-premium/templates/ and place it under wp-content/themes/<your theme or child>/woocommerce), and change line 173 to be as follows:

    <a href="<?php echo esc_url( get_permalink( apply_filters( 'woocommerce_in_cart_product', $item->get_product_id() ) ) ); ?>"><?php echo apply_filters( 'woocommerce_in_cartproduct_obj_title', $product->get_title(), $product ); ?></a>
    
    Thread Starter mohdaljaraba

    (@mohdaljaraba)

    @yithemes

    Thank you its working

    best regards

    Plugin Author YITHEMES

    (@yithemes)

    You’re welcome!

    If you enjoy our plugin, don’t forget to leave us a 5 star review, to support us and help our work
    Thank you!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘title in Wishlist page’ is closed to new replies.