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?
1
[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.
The shortcode [wpv-post-field name=wpcf-expert-coach-user-id] shows id on its own and when I enter the ID in types field that works too.
I also tried to register the wpv-post-field name on 3rd party shortcodes but it does not allow spaces so I registered wpv-post-field but that did not solve the issue.
Hello. Thank you for contacting the Toolset support.
Can you please share problem URL and admin access details so I can check whats going wrong with your setup.
*** Please make a FULL BACKUP of your database and website.***
I would also eventually need to request temporary access (WP-Admin and FTP) to your site. Preferably to a test site where the problem has been replicated if possible in order to be of better help and check if some configurations might need to be changed.
I have set the next reply to private which means only you and I have access to it.
I see you are using Elementor - could you please tell me where exactly with what elementor template you are trying to display the author profile image?
It seems Elementor does not able to parse the nested shortcodes so I've created the following content template and added the shortcode within it that displays the image:
=> hidden link