The Custom Messages Addon allows you to customize the content protection messages that get output from the membership plugin. This is useful if you are not running a ‘typical’ membership site.
Download the custom messages addon.
After you install this addon, go to the “Custom Message” menu from the admin dashboard of the membership plugin.
It is here you will see a number of fields where you can enter text of your choosing. The text you enter will then replace the typical message output by the membership plugin.
You can override the default message of the plugin by specifying a custom one.
Message Customization Example
Lets say you wanted to customize the following standard post/page protection message:
Go to the “Custom Message” menu and enter your message in the “Restricted Post (No Logged In)” field to customize it.
A customized example that you may wish to base your own off can be found below:
'Wishing to view this content? Why not <a href="https://www.yourloginpage.com">Login</a> or <a href="https://yourjoinuspage.com">Join Us Now</a>.
List of Customization Options
Below you can find a screenshot that includes all the messages that you can customize when using this addon on your WordPress site. After you have completed your custom messages ensure you click the Save Changes button.
Using HTML Code
You can use HTML code in the custom message also. So for example, you could use something like the following:
This is a custom message. Here is a test <a href="example.com">link</a>
Or something like the following so you can customize the output using CSS:
<div class="swpm-custom-expired-msg">Your account expired. This is a custom message that I can tweak with CSS too.</div>