Comments Saleh started the conversationAugust 30, 2022 at 1:05pmhi dear Before updating to version 4.3.1, I was using this code to change the wishlist label to html icon without problems: add_filter( 'woosw_menu_item_label', 'replace_wishlist_text_on_menu', 99, 2 ); function replace_wishlist_text_on_menu ($html){ $html = '<i class="od-heart3"></i>'; return $html; } but after upgrade to version 4.3.1, my html code Convert special characters to HTML entities: https://ibb.co/wL24hDf Please guide me how to fix this problem thanks 767Janilyn repliedSeptember 5, 2022 at 2:21amHi Saleh,Thanks for contacting us here. We have been off for a long vacation so today (5th September 2022) we are able to reach back to you.We've got your issue. I have assigned one of our developers to help you with that. He’ll be looking into your question and responding with specific instructions as soon as possible. Please stay patient as we're having very heavy workloads, it might take some time for our developers to reach back. Best regards.Janilyn T. - WPClever Support Agent 153Henry repliedSeptember 5, 2022 at 7:42amHi,Please add the below custom code (How to add custom code?) // Wpclever team support ticket-3114745 add_filter( 'woosw_menu_item', 'woosw_wishlist_icon_on_menu', 99 ); function woosw_wishlist_icon_on_menu( $menu_item ) { return '<li class="menu-item woosw-menu-item menu-item-type-woosw"><a href="' . esc_url( WPCleverWoosw::get_url() ) . '"><span class="woosw-menu-item-inner" data-count="' . esc_attr( WPCleverWoosw::get_count() ) . '"><i class="od-heart3"></i></span></a></li>'; }Best regards,Henry N. Sign in to reply ...
hi dear
Before updating to version 4.3.1, I was using this code to change the wishlist label to html icon without problems:
but after upgrade to version 4.3.1, my html code Convert special characters to HTML entities: https://ibb.co/wL24hDf
Please guide me how to fix this problem
thanks
Hi Saleh,
Thanks for contacting us here. We have been off for a long vacation so today (5th September 2022) we are able to reach back to you.
We've got your issue. I have assigned one of our developers to help you with that.
He’ll be looking into your question and responding with specific instructions as soon as possible.
Please stay patient as we're having very heavy workloads, it might take some time for our developers to reach back.
Best regards.
Janilyn T. - WPClever Support Agent
Hi,
Please add the below custom code (How to add custom code?)
Best regards,
Henry N.