WordPress.org

Taiwan 正體中文

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

Plugin Directory

LH Private Content Login

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

這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

LH Private Content Login

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

外掛說明

Do you post private content? Are you sending those links to your users with private content access?

WordPress natively send non-logged in users to a 404 (content not found) page when they try to access a post, page, or cpt without rights. This plugin redirects those users to the login page. After successful login the user is then redirected back to the post, page, or cpt they were trying to access.

Like this plugin? Please consider leaving a 5-star review.

Love this plugin or want to help the LocalHero Project? Please consider making a donation.

安裝方式

  1. Upload the entire lh-private-content-login folder to the /wp-content/plugins/ directory.
  2. Activate the plugin through the ‘Plugins’ menu in WordPress.

常見問題集

What is something does not work?

LH Private Content Login, and all https://lhero.org plugins are made to WordPress standards. Therefore they should work with all well coded plugins and themes. However not all plugins and themes are well coded (and this includes many popular ones).

If something does not work properly, firstly deactivate ALL other plugins and switch to one of the themes that come with core, e.g. twentyfifteen, twentysixteen etc.

If the problem persists pleasse leave a post in the support forum: https://wordpress.org/support/plugin/lh-private-content-login/ . I look there regularly and resolve most queries.

What if I need an enhancement or feature that is not in the plugin?

Please contact me for custom work and enhancements here: https://shawfactor.com/contact/

How do I change the text explaing the need to login?

Currently if a visitor tries to access content that is private the visitor is redirected to the login page and the message: “This content is private you will need to login and have appropriate access.” is displayed. This string itself is fully translatable but translations files are not icluded in the plugin itself. You can translate or modify the entire message (including the html) directly using the “lh_private_content_login_display_login_message” filter.

使用者評論

Excellent

321abc 2021 年 6 月 26 日
Best private page to login redirect.

It works!

richardlm57 2019 年 4 月 22 日 1 則留言
I gave it a lower rating before, but as its developer mentioned, the real culprit was another plugin that was crashing with this. My apologies for my previous rating, and thanks for your suggest.

Perfect

valym777 2019 年 4 月 14 日
THIS is exactly what I was looking for. It works perfectly. Thank you SO much for your plugin contribution, this is what makes the WordPress community awesome! Note to others: Once plugin is enabled, simply change any of your preferred posts/pages visibility to “private” and you’re done. Only those that log in will be able to view that content.

Works as intended

ulikoehler 2018 年 10 月 20 日
Just install and activate!

Works perfectly!

abooster 2017 年 2 月 11 日
Works perfectly with WordPress 4.7.2. To make sure users with subscriber role can actually read your private content follow the instructions here: https://www.lifewire.com/letting-subscribers-view-private-wordpress-blog-756532 because by default only Administrators and Editors can see private posts and pages.
閱讀全部 5 則使用者評論

參與者及開發者

以下人員參與了開源軟體〈LH Private Content Login〉的開發相關工作。

參與者
  • shawfactor

〈LH Private Content Login〉外掛目前已有 1 個本地化語言版本。 感謝全部譯者為這個外掛做出的貢獻。

將〈LH Private Content Login〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

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

變更記錄

1.00 January 22, 2017
* Initial release

1.01 March 03, 2017
* Added preview login functionality

1.02 July 25, 2017
* Added class check

1.03 March 04, 2018
* Singleton pattern implemented

1.00 September 04, 2020
* Moved hooks to plugins loaded added login message

1.05 January 11, 2024
* Better translation support

1.06 February 25, 2024
* Added login message filter and attachment handling

中繼資料

  • 版本 1.05
  • 最後更新 1 年前
  • 啟用安裝數 300+
  • WordPress 版本需求 5.0 或更新版本
  • 已測試相容的 WordPress 版本 6.4.5
  • 語言

    English (US) 及 Portuguese (Portugal).

    將這個外掛本地化為你的母語版本

  • 標籤
    loginpost statusprivate contentredirectionstatus
  • 進階檢視

評分

5 星,滿分為 5 星
  • 5 個 5 星使用者評論 5 星 5
  • 0 個 4 星使用者評論 4 星 0
  • 0 個 3 星使用者評論 3 星 0
  • 0 個 2 星使用者評論 2 星 0
  • 0 個 1 星使用者評論 1 星 0

新增使用者評論

查看全部使用者評論

參與者

  • shawfactor

技術支援

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

檢視技術支援論壇

贊助

想要支援這個外掛的發展嗎?

贊助這個外掛

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

Taiwan 正體中文

  • 查看我們的 X (之前的 Twitter) 帳號
  • Visit our Bluesky account
  • Visit our Mastodon account
  • Visit our Threads account
  • 造訪我們的 Facebook 粉絲專頁
  • Visit our Instagram account
  • Visit our LinkedIn account
  • Visit our TikTok account
  • Visit our YouTube channel
  • Visit our Tumblr account
程式碼,如詩