James Wynhoff pleaded guilty to charges of attempted child sex trafficking and possession of child pornography, prosecutors said.