SCRANTON — A 39-year-old man from West Virginia pleaded guilty Thursday to producing and attempting to produce child pornography while he was in Susquehanna County last year, according to the U.S. attorney’s office for the Middle District of Pennsylvania.