1.The charging port may not be compatible with the iPhone that you have. I’d suggest you get the charging port for the correct model and try that out. 2. did the charging port work for the other phone? If not than that would be one problem.
About the home button. Sadly the home button won’t work because it is a non physical button, and when you replace it you won’t get Touch ID or functionality back. About the WiFi. Maybe there is a dead spot in your screen that touch won’t work or I am wrong. Maybe a bad WiFi antenna. Hope this helps. Cheers