Spring til indhold
WordPress.org

Dansk

  • Temaer
  • Plugins
  • Nyheder
  • Support
  • Om
  • Meetup
  • Vær med
  • Om
  • Få WordPress
Få WordPress
WordPress.org

Plugin Directory

AJO Membership

  • Indsend et plugin
  • Mine favoritter
  • Log ind
  • Indsend et plugin
  • Mine favoritter
  • Log ind

AJO Membership

Af Ali J Online
Download
  • Detaljer
  • Vurderinger
  • Installation
  • Udvikling
Support

Beskrivelse

AJO Membership is a lightweight, secure, and straightforward plugin designed to turn your WordPress site into a basic membership portal without the bloat of massive membership plugins.

It allows you to restrict access to specific pages, posts, or entire URL paths directly from a simple settings dashboard. Non-registered users attempting to access protected content are automatically redirected to a custom link of your choosing.

The plugin also safely redirects non-administrative users away from the default WordPress dashboard (wp-admin), keeping your frontend pristine, and provides native WordPress-powered shortcodes to handle user authentication entirely on the frontend.

Features

  • Content Protection: Protect any URL or path (e.g., /premium-content/). Sub-pages are automatically protected.
  • Custom Redirects: Send unauthorized visitors to a specific landing page or your login page.
  • Dashboard Restriction: Automatically blocks non-administrators from accessing the WordPress backend dashboard, redirecting them to the homepage instead.
  • Frontend Profile Editor: Allow users to update their Name, Email, and Password directly from a frontend page.
  • Native Authentication: Uses WordPress’s core secure functions to handle logins, registrations, and password resets. No clunky third-party tables—just clean, native integration.

Included Shortcodes

Simply paste these shortcodes onto any page or post to display the respective forms:

  • [ajo_login] – Displays the standard login form. (Hides automatically if the user is already logged in).
  • [ajo_register] – Displays a straightforward registration form.
  • [ajo_password_reset] – Displays the lost password / reset request form.
  • [ajo_edit_profile] – Displays a secure frontend profile editor for logged-in users to update their name, email, and password.

Skærmbilleder

Installation

  1. Upload the ajo-membership folder to the /wp-content/plugins/ directory, or install it via the WordPress Plugins dashboard by uploading the .zip file.
  2. Activate the plugin through the ‘Plugins’ menu in WordPress.
  3. Go to Settings > AJO Membership to configure your protected URLs and custom redirect link.
  4. Go to Settings > General and ensure “Anyone can register” is checked if you plan to use the registration shortcode.
  5. Create standard WordPress pages (e.g., “Login”, “Register”, “My Profile”) and paste the provided shortcodes into the page content.

FAQ

Why is the registration form not working?

Because this plugin securely utilizes WordPress’s native registration system, you must enable registration in your main WordPress settings. Go to Settings > General and check the box next to Membership that says “Anyone can register”.

How do I protect a specific page?

Go to Settings > AJO Membership. In the “Protected URLs / Paths” box, type the path of the page you want to protect (e.g., /my-secret-page/). Enter one path per line.

Does protecting a parent page protect its child pages?

Yes! If you protect /members/, then any sub-page like /members/downloads/ or /members/videos/ will automatically be protected as well.

Can regular users access my WordPress dashboard?

No. The plugin automatically detects if a user is an Administrator or not. If a subscriber or customer tries to access /wp-admin/, they will be safely redirected back to your homepage.

Anmeldelser

Der er ingen anmeldelser for denne widget.

Bidragsydere & udviklere

“AJO Membership” er open source-software. Følgende personer har bidraget til dette plugin.

Bidragsydere
  • Ali J Online

Oversæt “AJO Membership” til dit eget sprog.

Interesseret i udvikling?

Gennemse koden, tjek SVN repository, eller abonner på udviklerloggen via RSS.

Ændringslog

1.0

  • Initial release.
  • Added content protection via URL path.
  • Added shortcodes: [ajo_login], [ajo_register], [ajo_password_reset].
  • Added [ajo_edit_profile] shortcode for secure frontend profile updating.
  • Added security feature to block non-admins from accessing the WordPress dashboard.
  • Improved security nonces and user input sanitization.

Meta

  • Version 1.0
  • Senest opdateret 3 måneder siden
  • Aktive installationer Færre end 10
  • WordPress-version 5.8 eller højere
  • Testet op til 7.1.3
  • PHP-version 7.4 eller højere
  • Sprog
    English (US)
  • Tags
    loginmembershipprotect contentregistrationuser roles
  • Avanceret visning

Bedømmelser

Der er endnu ikke indsendt nogen anmeldelser.

Din anmeldelse

Se alle anmeldelser

Bidragsydere

  • Ali J Online

Support

Har du noget at sige? Har du brug for hjælp?

Vis supportforum

  • Om
  • Nyheder
  • Hosting
  • Privatliv
  • Fremvisning
  • Temaer
  • Plugins
  • Blokgrupper
  • Lær
  • Support
  • Udviklere
  • WordPress.tv ↗
  • Bliv involveret
  • Begivenheder
  • Doner ↗
  • Swag ↗
  • WordPress.com ↗
  • Matt ↗
  • bbPress ↗
  • BuddyPress ↗
WordPress.org

Dansk

The WordPress® trademark is the intellectual property of the WordPress Foundation.

  • Besøg vores X (tidligere Twitter) konto
  • Besøg vores Bluesky-konto
  • Besøg vores Mastodon konto
  • Besøg vores Threads-konto
  • Besøg vores Facebook side
  • Besøg vores Instagram konto
  • Besøg vores LinkedIn konto
  • Besøg vores TikTok-konto
  • Besøg vores YouTube-kanal
  • Besøg vores Tumblr-konto
Kode er poesi.