◆ Tell us what you are trying to do?
I added Embedded media to Custom User Field.
And I added this short cord to Author archive(WordPress Archive).
` [types usermeta='sp_youtube_embeded' width='300' height='100' user_is_author='true'][/types]`
` [types usermeta='sp_youtube_embeded' output='raw' user_is_author='true'][/types]`
◆ Is there any documentation that you are following?
I read this documentation.
https://toolset.com/documentation/customizing-sites-using-php/functions/#embedded-media
https://toolset.com/forums/topic/displaying-a-youtube-video/
◆ What is the link to your site?
Could you give me a private ticket?
Hi,
Thank you for contacting us and I'd be happy to assist.
To achieve this, you'll need a custom shortcode that can return the user ID of the author whose archive is being viewed. That ID can then be used in the 'user_id' attribute of the user custom field shortcode. You'll find the code example in this support thread:
https://toolset.com/forums/topic/how-to-display-users-custom-fields-on-author-archive/
In case this doesn't work, you're welcome to share temporary admin login details, in reply to this message.
Note: Your next reply will be private and it is recommended to make a complete backup copy, before sharing the access details.
regards,
Waqar
My issue is resolved now. Thank you!
Thank you so much!