Mô tả
Toggle the visibility of any custom post type between public and restricted to logged-in users. This simple plugin can be paired with account management strategies to create membership-only content restrictions.
Cài đặt
- Take the easy route and install through the WordPress plugin installer, or,
- Download the .zip file and upload the unzipped folder to the
/wp-content/plugins/directory - Activate the plugin through the ‘Plugins’ menu in WordPress
- Go to the Toggle Post Type Visibility page under Settings to set the visibility of each post type.
Hỏi đáp
-
Where are the options?
-
See the sub-page under the settings menu. Options will only show up for custom post types registered with
public => true. -
Inconsistent behavior for logged out users?
-
Logged-out users may see inconsistent behavior when attempting to access content that is hidden. They will likely see the front page, or the
posttype archive. They may see a 404 error. For best results, avoid including menus or other links to hidden content from public pages. -
Access management
-
This plugin limits access to logged-in users. It does not provide any special handling of user registration management. Anyone at the
subscriberlevel or greater can view all content filtered by this plugin. There is a warning on the settings page when sites allow anyone to register, which will allow anyone to view content restricted by this plugin. There are no plugin options to change the visibility restriction; the only level of access restriction is for logged-in status.
Đánh giá
Không có đánh giá nào cho plugin này.
Người đóng góp & Lập trình viên
“Toggle Post Type Visibility” là mã nguồn mở. Những người sau đã đóng góp vào plugin này.
Những người đóng gópDịch “Toggle Post Type Visibility” sang ngôn ngữ của bạn.
Muốn tham gia phát triển?
Duyệt code, check out SVN repository, hoặc theo dõi nhật ký phát triển qua RSS.
Nhật ký thay đổi
1.0
- First publicly available version of the plugin.