If you come across a problem with whatsapp not displaying contacts properly on your cyanogen ROMs then the culprit is privacy guard.
Solution: By default privacy guard is active when we install a new app.
Go to Settings > apps > whatsapp > untick privacy guard
That’s it! BTW reboot phone for better results…
Do whatsapp and stay connected with pals!!