Ok,
I find how can overriding the template.
Copying the template to the /Woocommerce/ directory.
But how can i adding users name to the title?
Hi Christophe
I’m glad to know you managed to override wishlist template 🙂
In order to change Wishlist page title, you can use the yith_wcwl_wishlist_params filter, maybe with something like this
if( defined( 'YITH_WCWL' ) && ! function_exists( 'yith_wcwl_add_user_to_title' ) ){
function yith_wcwl_add_user_to_title( $shortcode_param ){
if( is_user_logged_in() ){
$user = wp_get_current_user();
$username = $user->fisrt_name;
$username = ! empty( $username ) ? $username : $user->billing_first_name;
$username = ! empty( $username ) ? $username : $user->display_name;
$shortcode_param['page_title'] .= ! empty( $username ) ? ' ' . __( 'from' ) . ' ' . $username : '';
}
return $shortcode_param;
}
add_filter( 'yith_wcwl_wishlist_params', 'yith_wcwl_add_user_to_title' );
}
Please, let me know if this works for you
Have a nice day 🙂