Anonymous Restricted Content


This plugin is as simple as you expected!
And it support latest WordPress Gutenberg editor now!

Mark the content you want to hide as restricted with just a checkbox – and it’s done!

In case anonymous user will try to get access to restricted page or post – it will be redirected to WordPress Login page first.
Or you can specify the exact URL (internal or external) to redirect anonymous users to.

After successful authorization, user is redirected back to the requested page.

Starting version 1.2.0 it also hide restricted posts from Archive and Categories pages, RSS feed and in Latest Comments/Posts widgets!

If you want to support development – maybe, buy me some coffee ?


  • Restrict access to any post for not logged-in users.
  • Hide any page from public access.
  • Not logged-in users are redirected to Login screen in case of trying access restricted content.
  • Admin settings page


  1. Upload anonymous-restricted-content folder into the /wp-content/plugins/ directory or use automatic WP Plugin Installer.
  2. Activate the plugin through the ‘Plugins’ menu in WordPress.
  3. All done, you can start using it!


How to hide post/page from public access?

Go to post/page edit screen in WP Admin, and switch ON checkbox for “Restricted for anonymous users”. You can find it in the sidebar, under Document -> Status & Visibility.

I set post to restricted, but it’s still visible?!

It usually happens when you forget to press Update button.

I’m not idiot, and I saved my post but it’s still visible?!

Please, use this url to submit support ticket:

What happens to users who are restricted ?

You can redirect them to any url you need or to the default WP login screen.

Can I change redirect URL ?

Yes, you can find this option under Settings -> Restricted Content -> Redirect Options.

Can I set custom notification message for users who was restricted ?

Yes, look at Settings -> Restricted Content -> Login Screen Message.

All restricted options are reset after plugin re-install. What’s going on?

We strictly care about your database size, and clean up all the data created by this plugin during its lifetime when plugin is uninstalled.

What about categories?

Unfortunately, we refused to support this feature in latest version, cause to changes in WP which made it nearly impossible to do.


2020년 July 31일
This is simple enough to use and accomplishes the task. You can protect attachments, which was key for me. Support was slow.
2020년 April 11일
No option under the category to hide from anyone. Waste of time.
2020년 August 31일
Update: Nice lightweight plugin that lets you restrict access for not-logged in user to single posts and pages + bulk protecting. I use it as a complement to the plugin WP User Frontend Pro. Works fine together with Divi and WordPress 5.5.
2019년 March 4일
Works great. No complicated settings. Simple but effective. Would be nice if there was a possibilty to add some text above the login screen.
2018년 June 25일
This plugin does exactly what I needed it to do and saved me a lot of time trying to hobble a number of other things together to achieve the same result.
모든 6 평가 읽기

기여자 & 개발자

“Anonymous Restricted Content”(은)는 오픈 소스 소프트웨어입니다. 다음의 사람들이 이 플러그인에 기여하였습니다.


자국어로 “Anonymous Restricted Content”(을)를 번역하십시오.

개발에 관심이 있으십니까?

코드 탐색하기는, SVN 저장소를 확인하시거나, 개발 기록RSS로 구독하십시오.



  • Bulk restriction. Restriction status in Posts/Pages list.
  • Tested with brand new WP 5.5


  • Resolved issue with Classic Editor and Yoast plugins compatibility.


  • Fixed problem with “Undefined variable: is_content_restricted …”, my apologies about it!


  • Stopped supporting restricted categories!
  • Restricted pages are hidden from default primary menu.
  • New, customizable message for users who forced to login screen.
  • More efficient restriction function to cover even more cases.
  • Speed and coding optimisation.


  • Added Redirect URL option to Settings page


  • WordPress 5.2 Compatible
  • Restricted posts hidden in archive
  • Restricted posts hidden in Latest Posts widget
  • Comments to restricted posts hidden in Latest Comments Widget
  • Restricted posts hidden in Rss Feed


  • Minor fixes related to Gutenberg editor


  • Gutenberg compatibility


  • WordPress 5.0 compatibility


  • Added Restricted categories
  • More efficient restricted options processing
  • Prepared plugin to be uploaded to storage


  • First version of plugin with just basic functions