- This topic has 1 reply, 2 voices, and was last updated 11 years, 10 months ago by .
Viewing 2 posts - 1 through 2 (of 2 total)
Viewing 2 posts - 1 through 2 (of 2 total)
- You must be logged in to reply to this topic.
WordPress Membership Plugin
Simple Membership Plugin › Forums › Simple Membership Plugin › Message on secure page – design?
Tagged: design, not a member, secure page
Hi,
When a user tries to view a secure page there is a simple message “You need to login to view this content. Please Login. Not a member? Join Us”
This message is “ok”, but the placement and design is debatable. I want to add a “div” tag or something to make the message appear in the center and also have some space above (not directly under the top menu) and below (not directly above the footer). How can I do that? Wht file do I need to edit to get this small thing to work?
Sincerely
Geson
Hi Geson, You can easily customize that protection message using the following code in your “functions.php” file of the theme:
add_filter('swpm_not_logged_in_post_msg', 'swpm_my_protection_msg_customization');
function swpm_my_protection_msg_customization($msg)
{
$msg = 'Whatever you put in here will be shown instead of the default message.';
return $msg;
}