I would like to add social links to all my users by using custom fields. What is the best way to do it?
Here are my options:
Similar to what Drupal.org do. Add a custom field (link) called Social Links and allow to add more than 1 values. That way a user will be able to add Facebook, Twitter and Instagram.
What if I add a custom field (link) for Facebook, other for Twitter and other for Instagram? That way I’ll have 3 different fields instead of one field like in Option 1.
What is the best option for you?
Also, is there any way to validate the link? I mean, if someone add an URL in Facebook field, is there a way to validate that the URL is pointing to Facebook?