Skip to content

devuri/my-members-only

Repository files navigation

Note: This is the development version and contains features that may be in various stages of development. If you want to use this on a live website download here: My Members Only.

Members Only Membership - Simple membership plugin for WordPress

Protect content in posts and pages with shortcodes.

Description

My Members Only WordPress Plugin makes it easy for anyone to protect content on a WordPress site in any post or page using shortcodes.

[membersonly] Protected Content Here [/membersonly]

The shortcode can be used along with other shortcodes, this plugin is very simple and light weight making it a very useful tool for any WordPress website.

[membersonly] [myshortcode title="Post title here"] Protected Content [/membersonly]

Restrict access to

  • Downloads
  • Articles in Whole or Part
  • Videos
  • Private Forums
  • Premium Support
  • And so much more.

★★★★★

Superb “Plugin is Superb! exactly what I wanted thanks - zala5958

New in 4.5

  • Present Users who are not logged in with a link to "Register or Login Here",
  • Redirect Users to current page after login.
  1. Create a Post or Page or protect existing content.
  2. Place the shortcodes around the content you wish to protect.

New Shortcode Options Use With Options

  • display="Custom text" change the message for none logged in user (default: You Must be Logged in to view this content)
  • linkto="/wp-admin/" Link to specific page, recommended usage would be to use /wp-admin/ without http://www this is very good practice in case if you are using SSL or custom sub domain, Note that this will also disable Auto redirect (default: WordPress Login Page)
  • linktext="Click Here" change the text for link (default: Register or Login Here)

Example Shortcodes

[membersonly] Premium Content Here [/membersonly]

With Options

[membersonly display="Login To Download" linkto="/wp-admin/" linktext="Login Here"] protected content here [/membersonly]

the user will then have to be logged in to view.