Potty training ... I remember those days well.

Don't worry, it CAN be done! Yorkies can be difficult to potty train but with a little extra effort, anyone can totally be successful at it!
Everyone has give you excellent advice already, so I won't bog you down with anymore. Just remember that your pup is still VERY young. Sometimes it takes a year or even two years (in some cases, not all cases) to potty train a dog. Some people are lucky and their dogs catch up quickly. My Codie caught on sooooooo unbelievely quickly ... he was potty trained by 4 months old but I wasn't that lucky with the rest of my dogs lol
Good luck to you!!