Memberful 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:

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.

Memberful sign in link

If you'd like to create a sign in button instead of a text-based link, use the URL below with a button builder. Just make sure to replace YOURSITE with your real domain.

https://YOURSITE.com/?memberful_endpoint=auth

From your WordPress dashboard, navigate to Appearance → Menus. Click Screen Options and select Memberful Links. From the Memberful Links list select Sign in, Sign out, and/or Account and click Add to Menu.

Memberful menu links

To control which users can see each menu link (e.g. logged in members see “sign out” and logged out members see “sign in”), install the User Menus plugin on your website. Then navigate to Appearance → Menus to apply visibility controls to your menu items.

User Menus plugin

Add a Memberful Profile widget

From your WordPress dashboard, navigate to Appearance → Widgets and drag the Memberful Profile widget to your sidebar.

Memberful Profile widget

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.

Memberful account view

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 code to your WordPress theme

See the WordPress functions documentation.

Related help docs:

Start selling memberships the easy way! 🚀 🙌 💪

Join some of the world's biggest audience-supported creators.

Try Memberful for free today →

Home

General +-

Quick start guides +-

How to +-

CMS Integrations +-

Email Newsletters +-

Discussion Forums +-

Course Builders +-

WordPress +-

Development / API +-