You don't have to be 6' tall to be attractive. Some girls might PREFER a taller guy, just like some guys would PREFER a girl with the perfect hourglass figure, but in reality not many people are actually born that way. And just as there are many guys out there who wouldn't mind, or even maybe prefer a girl who doesn't have the perfect hourglass figure, there are LOTS of girls out there who don't mind shorter guys, or even find them more attractive.
For the linked question, I put down the buff bod because for me personally, I like a guy who is the same height as me, but stronger. I think it's adorable if he's right on my eye-level...but buff so he's still bigger than me and can lift me and stuff. So everyone has their own preferences, don't let it get you down. Just because it might be some girls' PREFERENCE, doesn't mean that you're unattractive if you're not tall, ESPECIALLY if you're buff.
ALL of that being said, being VERY short (if you're with a REALLY tall girl) can become a physical impracticality (from personal experience...if one person's torso is a lot longer than the others' it can make uhmm certain activities awkward), meaning that you probably wouldn't want to date a very tall girl. But that's only an issue if you're like under 5' and trying to go out with a girl over 6'. Anddd the same impracticality exists if the height difference is the other way around with the guy being a LOT taller than the girl.
So hmm yeah I hope I was helpful, or at least made you feel a little better?