• Resolved myfakename

    (@myfakename)


    The title for sharing by email appears as “My+wishlist+on+STORENAME”

    I have tried changing the urlencode lines based on previous suggestions but this breaks my site. How can I fix this?

    Thanks

    https://ibb.co/xgmh9pL

    • This topic was modified 4 years, 8 months ago by myfakename.
Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author YITHEMES

    (@yithemes)

    Hi there

    Please, try this two steps procedure:

    1. Download attached file, and upload it under wp-content/plugins/yith-woocommerce-wishlist-premium/templates/, overwriting previous version

    This is the new version of share.php template, that will be included within next version of the plugin, and where urlencode will be replaced by esc_attr (content before the filter is already url encoed)

    2. Add this snippet of code at the end of functions.php file of your theme or child

    if ( ! function_exists( 'yith_wcwl_share_via_email_subject' ) ) {
    	function yith_wcwl_share_via_email_subject( $subject ) {
    		return 'HERE YOUR CUSTOM SUBJECT';
    	}
    	add_filter( 'yith_wcwl_email_share_subject', 'yith_wcwl_share_via_email_subject' );
    }
    

    Of course make sure to replace HERE YOUR CUSTOM SUBJECT with anything you want to show as subject

    Thread Starter myfakename

    (@myfakename)

    Hello,

    Everything works great now! Thank you ??

    • This reply was modified 4 years, 8 months ago by myfakename.
    Plugin Author YITHEMES

    (@yithemes)

    You’re welcome!

    We are doing our best to improve our plugins. Our target is to develop and release the best free plugins for WooCommerce, but to achieve this we need your help. Please leave a good review to support us and help our growth ??

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘How to remove “+” from email title?’ is closed to new replies.