Melt the butter in a large saucepan or Dutch oven over medium heat.
Add the orzo pasta and cook, stirring frequently, until golden brown and toasted, about 3-4 minutes. Watch carefully as it can burn quickly!
Add the diced onion and cook until translucent, about 2-3 minutes.
Stir in the minced garlic and cook until fragrant, about 30 seconds.
Add the uncooked rice and stir to coat with the butter mixture, toasting lightly for 1-2 minutes.
Pour in the chicken broth, salt, pepper, and dried thyme (if using). Stir once and bring to a boil.
Reduce heat to low, cover with a tight-fitting lid, and simmer undisturbed for 18-20 minutes, or until the liquid is absorbed and the rice is tender.
Remove from heat and let stand, still covered, for 5-10 minutes.
Fluff with a fork, stir in fresh parsley, and serve warm.