WordPress.org

وۆردپرێس بەکوردی

  • ڕووکارەکان
  • پێوەکراوەکان
  • دەربارە
  • وۆردپرێس بە دەستبێنە
وۆردپرێس بە دەستبێنە
WordPress.org

Plugin Directory

LH Private Content Login

  • پێوەکراوێک بڵاوبکەرەوە
  • دڵخوازەکانم
  • Log in
  • پێوەکراوێک بڵاوبکەرەوە
  • دڵخوازەکانم
  • Log in

This plugin hasn’t been tested with the latest 3 major releases of WordPress. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of 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.

Installation

  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 حوزه‌یران 26, 2021
Best private page to login redirect.

It works!

richardlm57 نیسان 22, 2019 1 reply
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 نیسان 14, 2019
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 تشرینی یه‌كه‌م 20, 2018
Just install and activate!

Works perfectly!

abooster شوبات 11, 2017
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).

Changelog

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
  • دوایین بەڕۆژکردنەوە 2 ساڵ لەمەوبەر
  • دامەزراندنی چالاک 300+
  • وەشانی وۆردپرێس 5.0 یان بەرزتر
  • تاقیکراوەتەوە تا 6.4.7
  • زمانەکان

    English (US) و Portuguese (Portugal).

    وەریبگێڕە بۆ زمانەکەی خۆت

  • تاگەکان
    loginpost statusprivate contentredirectionstatus
  • بینینی پێشکەوتوو

هەڵسەنگاندنەکان

5 out of 5 stars.
  • 5 5-star reviews 5 ئەستێرە 5
  • 0 4-star reviews 4 ئەستێرە 0
  • 0 3-star reviews 3 ئەستێرە 0
  • 0 2-star reviews 2 ئەستێرە 0
  • 0 1-star reviews 1 ئەستێرە 0

زیادکردنی پێداچونەوەکەم

See all reviews

بەشداربووان

  • shawfactor

پشتیوانی

هیچت هەیە بۆ وتن؟ پێویستت بە یارمەتییە؟

بینینی مەکۆی پاڵپشتی

ببەخشە

دەتەوێت پشتگیریی بەرەوپێشچوونی ئەم پێوەکراوە بکەیت؟

ببەخشە بەم پێوەکراوە

  • دەربارە
  • هەواڵەکان
  • خانەخوێکردن
  • تایبەتمەندێتی
  • پیشاندان
  • ڕووکاره‌کان
  • پێوه‌کراوه‌کان
  • شێوەئاساکان
  • فێربە
  • پاڵپشتی
  • گەشەپێدەران
  • WordPress.tv ↖
  • بەشداری بکە
  • بۆنەکان
  • بەخشین ↖
  • پێنج بۆ داهاتوو
  • WordPress.com ↖
  • Matt ↖
  • bbPress ↖
  • BuddyPress ↖
WordPress.org
WordPress.org

وۆردپرێس بەکوردی

  • Visit our X (formerly Twitter) account
  • Visit our Bluesky account
  • سەردانی هەژماری (Mastodon) بکە
  • Visit our Threads account
  • سەردانی پەڕەی فەیسبووکمان بکە
  • سەردانی هەژماری ئینستاگراممان بکە
  • سەردانی هەژماری لینکدئینمان بکە
  • Visit our TikTok account
  • سەردانی کەناڵەکەمان بکە لە یوتیوب
  • Visit our Tumblr account
کۆد هۆنراوەیە.