Hi rmott,
Does it actually show the shortcode on the page (i.e. [user-profile]) or does it show the words “user profile” (as in the title of the page)? If it shows the actual shortcode, it usually means that there’s a typo in the shortcode or the plugin isn’t properly activated.
Do any of the other shortcodes from this plugin work?
All this being said, getting a blank page is normal when you directly visit the page on which the [user-profile] shortcode is placed. It acts as a placeholder that builds the profile page when it is called for a specific user. For example, you might have a page that lists users with the [user-list] shortcode. In this shortcode you can include the “user_profile_page” attribute, like this: [user-list user_profile_page=”http://url.of.your.profile.page”%5D. Replace the URL with the URL of the page on which the [user-profile] shortcode is placed. This way, when you click on someone in the user list, it will bring you the profile page, with the correct URL parameter added. Give this a try and see if it works. If so, then it is functioning as it’s supposed to.
Thank you for the quick response. It shows the actual shortcode [user-profile]. All of the other shortcodes from the plugin work as expected.
What I was trying to accomplish was when a user logged in, it would show their user profile on the login page (no separate user profile page). I assumed the plugin would dynamically display the user profile based on the user login?
Hi rmott,
What you could do as an alternative is, inside the [login] shortcode, set the “redirect_page” attribute to the URL of the page on your site that has the [edit-profile] shortcode on it. This way, when someone logs in, they will be redirected to their edit profile page.
am having the same problem
the [user-profile] shortcode just displays the shortcode on the page.i though it was a typo but i have tried all i can to make it work, i have even copied the shortcode from the documentation and pasted it into my page but it doesn’t work. other shortcodes are working, at least all the other ones i have tried. please what do i do about it, i need a user profile page not an edit profile page. your answer will be appreciated.
Hi Bruno,
Could you please provide a link to your site, so we can have a look at the functionality of the plugin on it?
Thank you
Nice that you have marked this as [resolved]
But it would have been even nice if you had shared with us how it was resolved.
[user-profile] doesn’t work here either ~ https://wpfunder.org/your-details/
And neither does [account-details] or [edit-profile] ~ they just tell me “You must be logged in to access this page.” which is odd, because, I as the admin, I am of course logged in.
Is this, perhaps a PHP7 incompatibility?