Adding a Youtube Preview video in Profile.

Using this tip, you can convert a text field into a youtube video in user’s profile layout.

Steps :

  1. Create a text profile field in WP admin – Profile – Profile fields : Here users will enter youtube video link , you can set the visibility of this field only to member types in your site.
  2. Note the field id
  3. Add this code in WP admin – WPLMS – Footer – Google analytics code and change the field id 51 to your field id : https://gist.github.com/MrVibe/d06d072f82edfb499b4684db439f2af7
  4. Add this field in the profile layout.

Was this article helpful?

Related Articles

Leave A Comment?