Member account links
Your members should sign in and out of your WordPress site using Memberful links. When a member clicks a Memberful sign in link they're automatically signed in to Memberful and your WordPress site. When they sign out they'll be signed out of both Memberful and WordPress. What's more, your members should manage their personal information and subscriptions through a Memberful account link.
In this help doc:
- Add Memberful sign in and sign out links to any post or page.
- Add sign in, sign out, and account links to your menu.
- Update links in your theme, content, and plugins.
- Add a profile widget.
Add Memberful sign in and sign out links to any post or page
From your WordPress dashboard, navigate to any post or page. Click the Memberful button in the WordPress editor and then select Sign in link from the dropdown list.
If you'd like to create a sign-in button instead of a text-based link, use the URL below with a button builder. Replace YOURSITE.com with your actual website URL.
https://YOURSITE.com/?memberful_endpoint=auth
To add a sign out link, add the URL below anywhere on your site. Replace ACCOUNT-URL with your actual account URL subdomain, which can be found in your Memberful dashboard via Website → Settings.
https://ACCOUNT-URL.memberful.com/auth/sign_out
Add Memberful menu links
From your WordPress dashboard, navigate to Appearance → Menus. Click Screen Options and then select Memberful Links. From the Memberful Links list select Sign in, Sign out, and Account, and then click Add to Menu.
By default, we will show the Sign in link to logged out members, and the Sign out and Account links to logged in members. To disable this setting, navigate to Settings → Memberful in your WordPress admin dashboard.
Update links in your theme, content, and plugins
Any links in your theme and content (as well as links added by plugins) will need to be updated.
For example, your theme most likely displays a sign-in link in the comments section, and you'll need to update this link to use the Memberful sign-in URL:
https://YOURSITE.com/?memberful_endpoint=auth
Add a Memberful profile widget
From your WordPress dashboard, navigate to Appearance → Widgets, and drag the Memberful profile widget to your sidebar.
When a member is signed in, the widget will display the member's Gravatar photo, a link to their Memberful account page, and a link to sign out of Memberful and your WordPress site.
Use the URL below to add a member account management link anywhere on your site. Replace ACCOUNT-URL with your actual account URL subdomain, which can be found in your Memberful dashboard via Website → Settings.
https://ACCOUNT-URL.memberful.com/account
Removing the CSS from the widget
To remove all the plugin-generated CSS from the widget (presumably to style it yourself) add this code to the functions.php
file of your theme:
<?php
function mythemename_remove_stylesheet( $current ) {
return false;
}
add_filter( 'memberful_wp_profile_widget_add_stylesheet', 'mythemename_remove_stylesheet' );
?>
Add profile information to your WordPress theme via code
See the WordPress functions documentation to learn how to add profile information by using our WordPress functions in your theme's code.
Related help docs:
- Learn how members can manage their own subscriptions.
- Edit Memberful email templates.
- Connect to Stripe.