Ad Inserter
94Manage Google AdSense ads, banners, ad rotation, sticky widgets, AMP ads, ads.txt, tracking, header and footer...
Easily mark any post or a page as "for logged in members only", hiding it from public view! (not for custom post types).
Secret Content is a WordPress plugin that allows you to restrict content visibility to logged-in users on a per post or page basis. It operates by modifying standard WordPress functions without the need for custom coding or theme changes. This plugin is not currently enabled for custom post types.
The plugin works by saving a key/value pair in the postmeta database table when you select the option to show content only to logged-in visitors. If a parent page is hidden, its child pages will also be hidden from the menu.
Best for: This plugin is suitable for websites that need to restrict access to certain content for registered users.
What it does well
Where it falls short
Secret Content provides a straightforward way to manage content visibility for logged-in users, but its limitations on custom post types may restrict its use in some scenarios.
maxemil's own description of Secret Content, lightly tidied.
Simply tick the checkbox “Show this to logged in visitors only” This works on a per post / per page basis. Not yet enabeled for custom post types.
You do not need to insert custom functions or shortcodes. You do not need to change theme template files.
This plugin works by filtering WordPress core functions.
If you “hide” a parent page, the children will be hidden in the menu as well.
Technically the filters are modifying the query or the result of databse calls on standard WP features: wp_get_nav, wp_list_pages, $posts, previous_post, next_post.
When ticking the checkbox, the plugin saves a key/value pair in the postmeta database table.
When uninstalling the plugin, the entrys to the postmeta table are deleted.
Suggestions, Questions and feedback are welcome.
Other plugins for custom content structures.
Manage Google AdSense ads, banners, ad rotation, sticky widgets, AMP ads, ads.txt, tracking, header and footer...
ACF helps customize WordPress with powerful, professional and intuitive fields. Proudly powering over 2 millio...
Checkout Field Editor (Checkout Manager) for WooCommerce – The best WooCommerce checkout manager plugin to man...
Easily reorder posts, pages, custom post types, and taxonomies with intuitive drag-and-drop sorting in the Wor...
The #1 user-rated activity log plugin for event logging, activity monitoring and change tracking.
Admin UI for creating custom content types like post types and taxonomies