Members

This content is for registered users only. Please sign in.
[su_members message="This content is for registered users only. Please %login%." color="#F73F43" login_text="sign in" login_url="#"] You are a registered user. [/su_members]

Table of contents

  1. Description
  2. Options
  3. How to hide the default login message

Description

This shortcode allows you to display content only to registered users.

Options

Option namePossible valuesDefault value
message
Message for not logged users
Any text valueThis content is for registered users only. Please %login%.
color
This color will applied only to box for not logged users
#HEX color#ffcc00
login_text
Text for the login link
Any text valuelogin
login_url
Login link url
Any text value– none –
class
Additional CSS class name(s) separated by space(s)
CSS class name(s) separated by space(s)– none –

How to hide the default login message

The default login message can be easily hidden with the following custom CSS code:

.su-members {
	visibility: hidden;
	display: none;
}

Just add it to the Custom CSS code field under the Dashboard – Shortcodes – Settings screen.

Helpful?
🤝 Thank you!