@rianhall
Active 8 years, 3 months ago
-
meg@info replied to the topic Excluding Roles from the Member's Directory. in the forum How-to & Troubleshooting 10 years, 11 months ago
Hi @rianhall,
add this code to functions.php :
https://gist.github.com/dzmounir/8285459
No need to edit any template files. Just change
$excluded_roles = array( 'administrator', 'subscriber' );
by puting the role ids to hide.