• Author
    Posts
  • Hipsterian77

    Hi,

    I try to put an attribute to link to Skype (in the same way that I do with mail, whatsapp, etc …) but it doesn’t work for me. I use href = “skype: …..” but when I give update” skype disappears. Thank you!!

    ihordeveloper

    Please make sure that you set the display format correctly and the attribute format is correct, you can set something like:

    <a href="skype:%value%?call">Call via Skype</a>

    Attribute value should contain the Skype username, so it should be a text field with a custom Regex pattern that limits it to alphanumeric characters.

    Hipsterian77

    Could u please type de regex pattern?

    Thanks!

    ihordeveloper

    You can try using this one:

    [a-zA-Z][a-zA-Z0-9\.,\-_]{5,31}

    Found here https://stackoverflow.com/questions/12746862/regular-expressions-for-skype-name-in-php

    Hipsterian77

    “skype” disappears and i get Call via Skype after update!!!

    ihordeveloper

    This is strange, seems to be a limitation of WordPress, it removes anything at the beginning of “href” if it doesn’t start with http:// (for security reasons).

Viewing 6 posts - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.

Subscribe

Sign In

Don't have an account? Register

Forgot password?

Register

Already have an account? Sign In

Forgot password?

Reset Password

Please enter your username or email address, you will receive a link to create a new password via email.