- This topic has 2 replies, 3 voices, and was last updated 2 years, 2 months ago by .
Viewing 3 posts - 1 through 3 (of 3 total)
Viewing 3 posts - 1 through 3 (of 3 total)
- You must be logged in to reply to this topic.
WordPress Membership Plugin
Simple Membership Plugin › Forums › Simple Membership Plugin › Partial Protection Addon – Setting the text and style of displayed messages
Where is it possible to set the text of displayed messages and their style? I didn’t find that option. Does it set directly into short messages? Or where can you set, for example, the text of message 1 for this code that you have published as an example? :
[swpm_protected for=”2″ format_protected_msg=”1″]
Whatever content goes here is only visible to members who belong to the membership level 2.
[/swpm_protected]
Per the documentation…
“Partial Protection with Protected Message Formatted Nicely
The content protection message is shown in plain text without any styling by default. This is so you can define your own custom CSS styling if you wanted to.“
This shortcode allows you to set a custom text if you want. The following section of the partial protection documentation has an example of how to do that:
https://simple-membership-plugin.com/apply-partial-section-protection/#using-a-custom-message-for-the-non-members
Alternatively, you can customize any standard text message displayed by the plugin using the following technique:
https://simple-membership-plugin.com/customize-text-and-messages-using-the-translation-file/