[memb_logout_link]

This Applies to
OTHER DOCS Available

Summary

Adds a log out link to your membership site. Option to include redirect upon log out.

Shortcode Examples

Embed Logout URL into link tag:

<a [memb_logout_link htmlattr=href] >

Generate the whole link for you:

[memb_logout_link linktext="Log Out Here"]

Generate a Logout Link, and redirect the user to a custom page:

[memb_logout_link linktext="Log Out Here" url="http://yourdomain.com/custom_offer"]

Shortcode Parameters​

htmlattr:  Embeds the output of the shortcode into an HTML attribute.  For example to put the shortcode output into the href attribute of an <a> tag, you would use htmlattr=href
linktext: defaults to ‘Logout’
url: defaults to whatever membership logout page is set

Shortcode Attributes

Conditional: No (?)
Nestable: No (?)
Accepts formatting: No (?)
Capturable: No (?)

Additional Information

The shortcode is styleable using CSS class “memb_logout_link”.

FAQ

Can I use this shortcode with a page builder?

You can definitely use the shortcode to generate links inside page builders like Elementor, Divi, Beaver Builder, etc.

The only limitation is most page builders do not support shortcodes inside link fields. This means you couldn’t use our shortcode as a link inside a button, image, or any other element/block.

Due to page builders constantly pushing out updates, we don’t have a list on which ones are and aren’t supported, but you can easily test this for yourself.

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

[memb_logout_link]

This Applies To

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://memberium.com/support/ or Email us at support@memberium.com.