How to Add a Log In / Log Out link to Your WordPress Sidebar

In this lesson I’m going to show you how to add a log in and log out link to the sidebar of your Memberium based membership site. The log in link will only be visible to non logged in Members. And the log out link will only be visible to logged in members. If you’d like to learn how to add a log-in/log-out link to your menu click here. Now let’s get started and add these links to your WordPress sidebar…

  • Step 1
    Add an empty “Text widget to your Wordrpess sidebar (In your wordpress admin sidebar go to Appearance > Widgets > ‘Text’ Widget).
  • Step 2

    Paste the following into the text area of the widget you just added and click “Save” to make your log out / log in link live on your site.

    [memb_is_logged_in]
    [memb_logout_link linktext="Log Out Here" url="http://yourdomain.com/login"]
    [else_memb_is_logged_in]
    <a href="http://yourdomain.com/login">Log In</a>
    [/memb_is_logged_in]

(be sure your log in page URL matches the URL of your own login page)

  • Was this Helpful?
  • YesNo
9 ways to add more value to your membership site

Table of Contents

Keep Reading

How to Find Infusionsoft Field Names

Various Memberium functions use Infusionsoft fields for parameters to indicate where to read or write data. The most common examples are [memb_affiliate] and [memb_contact]. In this article we’ll show you the standard fields, and how to find your custom fields.

Read More »

Remove Accented Characters

This option is for web hosts that have problems handling accented characters in your Infusionsoft data. Turning this option on converts accented characters to their unaccented equivalents before storing them in the local database.

Read More »

Protecting Your Amazon S3 Downloads with Memberium

In this article, we’ll show you how to protect your Amazon S3 download links from being shared on the internet. Memberium does this with expiring links that are automatically changed each time the page loads. After a link is clicked, it’s set to expire after a set amount of time to prevent sharing. Your users can always go back and get another link to view/download the file again.

Read More »

Want to get some fresh ideas on how you can improve your membership site or course?

Download our free ebook!

Book a Call

Welcome to Memberium!

We are very excited for you to be part of our family. 

We would love to answer any questions that you have!

Please choose the best time for you to get in a call with us. 

For Technical Support, you can contact us at https://keap.memberium.com/support/ or Email us at support@memberium.com.