I'm using CiviCRM 4.7.31 on WordPress with the Members plugin. I created a new profile, then embedded that form in edit mode within a WordPress page:
[civicrm component="profile" gid="35" mode="edit" hijack="0"]
As expected, the WordPress page generates an error if a user is not logged in:
"No user/contact ID was specified, so the Profile cannot be used in edit mode."
This error persists even when I set the page's Content Permissions to limit access to users in selected roles.
The error disappears when I wrap the civicrm shortcode within the members_logged_in shortcode:
[members_logged_in] [civicrm component="profile" gid="35" mode="edit" hijack="0"] [/members_logged_in]
Is there a way to make this work correctly? Do I need to switch to Caldera Forms with the Caldera Forms CiviCRM plugin?
Thanks for your help.