I am trying to using the shortcode as per the documentation to get image based on user ID but does not seem to work.
What could I be missing?
[types usermeta='profile-picture' align='center' width='100px' height='100px' output='img' user_id='[wpv-post-field name=wpcf-expert-coach-user-id]']
The image exists and the expert coach user id also exists.
Hello and thank you for contacting the Toolset support.
First, make sure that both shortcodes returns the expected results without nesting them:
- Check if [wpv-post-field name=wpcf-expert-coach-user-id] returns the correct ID.
- Check (manually with the ID eg. 1234) if [[types usermeta='profile-picture' align='center' width='100px' height='100px' output='img' user_id='1234']] returns the image.
If both tests are conclusive, then you will have to registere the wpv-post-field name in Toolset->Settings->Front-end Content->3rd party shortcodes, so it gets evaluated before the types shortcode.
If that does not help, allow me temporary access to your website to check this closely. Your next reply will be private to let you share credentials safely. ** Make a database backup before sharing credentials. **
Let me know where do you use these shortcodes, a post to test with.