跳至主要內容
WordPress.org

Taiwan 正體中文

  • 佈景主題目錄
  • 外掛目錄
  • 最新消息
  • 技術支援
  • 關於我們
  • 團隊
  • 取得 WordPress
取得 WordPress
WordPress.org

Plugin Directory

AJO Membership

  • 提交外掛
  • 我的最愛
  • 登入
  • 提交外掛
  • 我的最愛
  • 登入

AJO Membership

由 Ali J Online 開發
下載
  • 詳細資料
  • 使用者評論
  • 安裝方式
  • 開發資訊
技術支援

外掛說明

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.

螢幕擷圖

安裝方式

  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.

常見問題集

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.

使用者評論

這個外掛目前沒有任何使用者評論。

參與者及開發者

以下人員參與了開源軟體〈AJO Membership〉的開發相關工作。

參與者
  • Ali J Online

將〈AJO Membership〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄。

變更記錄

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.

中繼資料

  • 版本 1.0
  • 最後更新 2 個月前
  • 啟用安裝數 少於 10 次
  • WordPress 版本需求 5.8 或更新版本
  • 已測試相容的 WordPress 版本 7.1
  • PHP 版本需求 7.4 或更新版本
  • 語言
    English (US)
  • 標籤:
    loginmembershipprotect contentregistrationuser roles
  • 進階檢視

評分

這個項目尚無任何評論記錄。

撰寫評分

查看全部使用者評論

參與者

  • Ali J Online

技術支援

使用者可在技術支援論壇提出意見反應或使用問題。

檢視技術支援論壇

  • 關於我們
  • 最新消息
  • 主機代管
  • 隱私權
  • 展示網站
  • 佈景主題目錄
  • 外掛目錄
  • 區塊版面配置目錄
  • Learn
  • 技術支援
  • 開發者資源
  • WordPress.tv ↗
  • 共同參與
  • 活動
  • 贊助基金會 ↗
  • Swag ↗
  • WordPress.com ↗
  • Matt ↗
  • bbPress ↗
  • BuddyPress ↗
WordPress.org
WordPress.org

Taiwan 正體中文

  • 查看我們的 X (之前的 Twitter) 帳號
  • 造訪我們的 Bluesky 帳號
  • 造訪我們的 Mastodon 帳號
  • 造訪我們的 Threads 帳號
  • 造訪我們的 Facebook 粉絲專頁
  • Visit our Instagram account
  • Visit our LinkedIn account
  • 造訪我們的 TikTok 帳號
  • Visit our YouTube channel
  • 造訪我們的 Tumblr 帳號
程式碼,如詩
The WordPress® trademark is the intellectual property of the WordPress Foundation.