Skip to content
This repository has been archived by the owner. It is now read-only.

Commit

Permalink
Browse files Browse the repository at this point in the history
Hiding user list from password protected pages
  • Loading branch information
Roy committed Jul 5, 2016
1 parent 3dc6260 commit bbd39d3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions user-people.php
Expand Up @@ -25,6 +25,7 @@ get_header(); ?>
</footer><!-- .entry-footer -->
<div class="uc-people">
<?php
if(! post_password_required()){
// everything we'll be doing will go into the args for WP_query.

//$args = array('post_type=person');
Expand Down Expand Up @@ -184,6 +185,7 @@ get_header(); ?>
}

}
}
?>


Expand Down

0 comments on commit bbd39d3

Please sign in to comment.