Limit posts per author role (excluding admin) in home page
If I understand your problem then this should definitely work. <?php get_header(); $users = get_users( array( ‘who’ => ‘author’ ) );//get all the users with author role in an array foreach ( $users as $user ) { //travers the array if($user->caps[‘administrator’]==1)continue; // skip the user if user also have administrative capabilities $query = new WP_Query( … Read more