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 a Memberful sign in link on any post or page.
- Add sign in, sign out, and account links to your menu.
- Add a profile widget.
Add a Memberful sign in link
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 with your actual Account URL sudomain.
https://YOURSITE.com/?memberful_endpoint=auth
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.
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 YOURSITE with your actual Account URL sudomain.
https://YOURSITE.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.