Problem:
I am trying to add a link where members can edit their user profile using this shortcode:
[cred_link_user_form form='111' form_name='Edit - business member' text='Edit %TITLE%' target='_self']
But I always get "User not found" instead.
Solution:
This is an issue in CRED 1.6 and we will manage to fix it.
FYI, the issue here is that there is a problem with the current user ID.
So, providing the user ID to the shortcode could solve the issue.
You can use the shortcode as follows:
[cred_link_user_form form='111' form_name="Edit user" text="edit user" target="_self" post='[wpv-current-user info='id']']
Note that the "post" parameter in the shortcode contains the value of the ID of the currently logged in user '[wpv-current-user info='id']'
Relevant Documentation:
https://toolset.com/documentation/user-guides/cred-shortcodes/
This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.
Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.
No supporters are available to work today on Toolset forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.
Sun | Mon | Tue | Wed | Thu | Fri | Sat |
---|---|---|---|---|---|---|
- | 9:00 – 10:00 | - | - | - | - | - |
- | - | - | - | - | - | - |
Supporter timezone: Africa/Cairo (GMT+02:00)
This topic contains 11 replies, has 3 voices.
Last updated by Mohammed 7 years, 10 months ago.
Assisted by: Mohammed.