This Plugin allows you to select specific users by user name, or by role name who can view a specific post content or page content.
As of April 2026, User Specific Content is a WordPress User Content plugin with 1.0K+ active installations and a 4.3/5 rating from 36 reviews. It has been downloaded 96K+ times in total. Requires WordPress 2.9.2+ and PHP false+. Available on WordPress.org since 2011. Last updated 8 years ago — may have compatibility concerns. Downloads are up 76% this week. Top alternative: TheTop7 – Custom Top 7 Lists.
This Plugin allows you to select specific users by user name, or by role name who can view a specific post content or page content.
Basically it adds a meta box to the post or page edit screen and lets the user select specific users by name or roles and then when you call that page content using “the_content();” function it check using “the_content” filter if the current user is one of the users you have selected or if his role match’s the roles you have selected and shows the content, otherwise it displays a message
Features:
The plugin works! Just look at the FAQ, everything is written there in clear language!
The usernames may match (my case), so insert in functions.php code below to see user IDs:
function true_user_id_column( $columns ) {
$columns['user_id'] = 'ID';
return $columns;
}
add_filter('manage_users_columns', 'true_user_id_column');
function true_user_id_column_content($value, $column_name, $user_id) {
if ( 'user_id' == $column_name )
return $user_id;
return $value;
}
add_action('manage_users_custom_column', 'true_user_id_column_content', 10, 3);
function true_user_id_column_style(){
echo '<style>.column-user_id{width: 5%}</style>';
}
add_action('admin_head-users.php', 'true_user_id_column_style');
Then just select the ID of the desired user or users, use the plugin shortcode and that’s it!
P.S. The code for displaying user IDs in the WP user menu is not mine. Unfortunately I can’t attach a link to the source. I will only say that this is the misha.agency website.
It does not work correctly when user role name and role slug are different for example Role name is ‘Member’ and slug is ‘abc_member’.
It does what I needed – restrict post read access to specific users
Initial problem, as my template wrote content from outside the the WP $content variable, which wasn’t secured.
Sorted it out with output buffering.
All is good now.
It’s all 🙂
| WordPress | 2.9.2+ requiredTested up to 4.7.0 |
| PHP | false+ required |
1.0.6 replaced deprecated get_currentuserinfo().
1.0.5 Fixed Custom roles not working.
1.0.4 Fixed Shortcode not working.
1.0.3 Removed some leftover testing code.
1.0.2 Major updates:
logged_status shortcode parameter, See FAQ.…and 1 more changes
Plugin data sourced from WordPress.org. Analysis and metrics by PluginSift.