Support » Plugin: WP-Members Membership Plugin » Customize Protected Content Message

  • How can I customize the text and formatting of the message nonusers see on protected content?

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Author Chad Butler

    (@cbutlerjr)

    Looking at the link you shared, it looks like you’re using a builder plugin. The reason the content restricted message lacks more formatting is that builders generally include part of the structural HTML markup as part of the content. When the user is not logged in, WP-Members dumps what is in the main content variable – so with a builder, some of that is layout related.

    There is a far more detailed discussion of this here: https://rocketgeek.com/tips-and-tricks/handling-form-layout-when-using-a-builder-plugin/

    The simplest option is to institute a redirect to a login page when the content is blocked, for which there are a few different ways to approach it (see “Simple Redirect” in the link above).

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.