• Resolved eventualo

    (@eventualo)


    Hi, I added skype and whatsapp protocols:

    function add_more_protocols ( $protocols ){
    	$protocols[] = 'skype';
    	$protocols[] = 'whatsapp';
    	return $protocols;
    }
    add_filter( 'kses_allowed_protocols' , 'add_more_protocols' );

    Then, I was able to add these links as menu items (custom links): skype:username?call, whatsapp://send?text=Visit....
    And they worked.

    But, when I enable Yoast, the skype and whatsapp urls are cleaned and replaced by home url.
    I think Yoast should respect the enabled protocols.
    Can you solve it?
    Thanks

    https://wordpress.org/plugins/wordpress-seo/

Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘YOAST does not allow skype or whatsapp in menu items’ is closed to new replies.