This code snippet can be used to query a WordPress database and then display 2 random users.