이 플러그인은 최근 3개의 주요 워드프레스 출시와 시험 되지 않았습니다. 워드프레스의 좀 더 최근 버전으로 이용할 때 더 이상 관리되지 않고 지원되지 않고 호환성 문제가 있을 수 있습니다.

O3World Members-Only Categories

설명

If you’d like to make the content on your site visible only to certain users using categories, look no further!

Designate certain categories as “members-only” via Privacy Settings.

An administrator may then assign a user to them via Profile.

Only content belonging to “public” categories (any top-level category you do not designate as “members-only”), and categories assigned to the logged-in user, and all subcategories of either, will be visible.

I would like to thank the action hook pre_get_posts, without which this plugin would not have been possible.

O3World

This plugin was created by kris@o3world.com

We’re an online marketing strategy / custom web and mobile development agency in Philadelphia.

Among other things, we love WordPress.

http://o3world.com

스크린샷

  • Within Settings -> Privacy, Any top-level category may be designated "members-only" .
  • Edit a user's Profile to grant access to view content present in any "members-only" category.

설치

  1. Upload o3world-members-only-categories.php to the /wp-content/plugins/ directory
  2. Activate the plugin through the Plugins menu in WordPress
  3. Within Settings -> Privacy you’ll see a new section titled Members-Only Categories. This is a listing of all your top-level categories. Tick the checkbox next to those you would consider “private.”
  4. To grant a user access to one or more of those categories, tick the checkboxes at the bottom of their Profile in a new section also titled Members-Only Categories. Only a user who can edit users (administrator) may do this.
  5. Log out of WordPress, and log in as that user. The content on your site should now be filtered by “public” and “members-only” categories.

FAQ

If “User Access Manager” exists, why must this plugin also exist?

While User Access Manager is a fine plugin, it may be cumbersome to grant access to one or more user groups upon editing each and every post.

By contrast, with this plugin, you need only consider a category as “members-only,” and any content created within it will automaticaly be viewable only to those users assigned to it.

If you’d like to redirect a user to a different page upon logging in, instead of Profile, you might try WordPress Login Redirect or something similar.

후기

이 플러그인에 대한 평가가 없습니다.

기여자 & 개발자

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

기여자

자국어로 “O3World Members-Only Categories”(을)를 번역하세요.

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

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

변경이력

1.03

Specify hide_empty argument (set to false) in call to get_categories, so that ALL top-level categories are shown.

1.02

Added logic to pre_get_posts hook to return $query as-is when $query->query_vars[ ‘suppress_filters’ ] is set and true.

1.01

  • Add empty callback function ‘o3_moc_edit_categories’, referenced in add_settings_section( ).

1.0

  • Initial release.