Chosen Solution

So recently I got the lightning port replaced as my phone stopped charging. Wireless charging worked fine. Even after the port was replaced it still won’t charge. Is there any quick fix to this?

No. There is no quick fix. If you have ruled out parts it will be a faulty IC or coil on the logic board.

Did you fit it yourself or at a shop? If at a shop take it back and ask them to replace it or at least put it on a usb tester to see if it’s taking any power.