Documentation
Install and restrict posts, pages, blocks, and menus in WordPress
Install Plugverta Visibility, create an audience, then apply it to a post, page, block, or menu item. Posts and pages show your replacement message to other visitors; blocks and menu items are omitted.
Version 1.1.1. WordPress 6.0 or newer, tested up to 7.1. PHP 7.4 or newer.
Install
- Download the plugin, upload it, and activate it on the site, or network-activate it.
- Open Visibility and add a visibility role.
- Edit a post, a page, a block, a navigation item, or a classic menu item, and choose a visibility role, list WordPress roles and users, or create a visibility role there.
Visibility roles
A visibility role is a group you create in the plugin. It can include any WordPress roles on this site and any users of this site. A person matches the group when they have one of those WordPress roles, or when their account is listed.
Administrators can delegate management to WordPress roles or named users. Delegated managers can manage visibility roles, the replacement message, and the login-popup setting. Only administrators can change who manages Visibility. Selecting individual users also requires permission to list users.
Posts and pages
Leave a post or page unrestricted and everyone can see it. Choose a visibility role, list WordPress roles and users, Anybody logged out, or Anybody logged in. Only people who match receive the body, excerpt, and comments. Other visitors see your message. The address, title, author, date, featured image, and other theme details can remain available.
Anybody logged out shows the post or page only to visitors who are logged out. Anybody logged in shows it to any account that is logged in. When a post or page requires a login, logged-out visitors can also get a login popup. Turn that popup off under Pages and Posts.
Blocks
In the editor, choose WordPress roles, users, a visibility role, Anybody logged out, or Anybody logged in on the block. If the visitor does not match, the block is left out, with no message and no popup.
Menus, search, and the sitemap
Turn on Hide from discovery to omit restricted content from WordPress core menus, post listings, search results, public REST collections, and the core sitemap. The address still opens your replacement message. Third-party search and sitemap plugins need separate testing.
Login
The login popup submits to this site’s WordPress login. After a successful login the same address loads again, and they see the content when their account matches.
Multisite
Activate it on one site or across the network. Roles and rules belong to the site you are editing. WordPress roles and users are the ones for that site.
Data and safety
- What is stored?
- The site stores visibility roles, settings, manager access, and post, page, and classic-menu rules in its database. Block and navigation-block rules stay in block markup. If an administrator opts in to Freemius, Freemius can receive profile, site, environment, plugin, theme, and network details described in the privacy policy.
- Who can create a visibility role?
- Administrators always can. They can delegate management to WordPress roles or named users. Delegated managers can manage visibility roles, the restricted-content message, and the login-popup setting. Only administrators can change who manages Visibility.
- What happens when a visibility role is deleted?
- Posts, pages, and blocks that still point at it stay hidden.
- Does this work on multisite?
- Yes. Activate it on one site or across the network. Roles and rules belong to the site you are editing. WordPress roles and users are the ones for that site.
- Where does the login popup send the password?
- To this site’s WordPress login. A successful login reloads the page the visitor was trying to open. You can turn the popup off under Pages and Posts.
- Does Visibility work with page caches and SEO plugins?
- Audience-dependent pages should be excluded from shared full-page caches. Discovery controls target WordPress core menus, listings, search, REST collections, and sitemaps; verify third-party search and sitemap plugins separately.
Exclude audience-dependent pages from shared full-page caches. A cache can otherwise serve HTML generated for one audience to another.
Deactivating Visibility stops enforcement. Uninstall removes roles, settings, and post, page, and classic-menu metadata, but visibility attributes can remain in block markup.
Download
Plugverta Visibility is free to download and complete without a license.
Free
$0
Control who sees WordPress post and page content, blocks, navigation links, and menu items.
Download plugin- Visibility roles from WordPress roles and users
- Replace restricted post and page content with your message
- Show content only to visitors who are logged out, or to anybody logged in
- Omit a block unless the visitor matches
- Set who can see a navigation item or a classic menu item
- Optionally hide content from WordPress discovery surfaces
- Works on a single site or a multisite network
Requirements: WordPress 6.0 and PHP 7.4 or newer.
Changelog
Version 1.1.1 is the current release.
1.1.1
- Show Visibility at the top of the block sidebar for the selected block, including when several blocks of the same type are selected.
1.1.0
- Mark a limited post or page on the Posts and Pages lists, and show who can see it.
- Mark a parent when a post or page inside it is limited.
- Mark a limited block, navigation item, or classic menu item, and mark the item that contains it.
1.0.0
- Limit posts and pages to visibility roles, with a message and a login popup.
- Show a post, page, or block only to visitors who are logged out, or to anybody who is logged in.
- Turn the login popup off for posts and pages that require a login.
- Omit blocks unless the visitor matches a selected WordPress role, user, or visibility role.
- Set who can see a navigation item or a classic menu item.
- Build visibility roles from WordPress roles and users on each site, including multisite.
