No, postmodernism is not identity politics. This video explains this very well: https://youtu.be/26fIBA7O5Ag
Although postmodernism isn’t as strictly defined as other philosophical movements, one can still clearly say what it doesn’t represent. Postmodern philosophy is typically associated on the internet as feminism/multiculturalism/Cultural Marxism, although it is none of that at all. It may have some loose ties by influencing some feminists and critical theorists through some scholars such as Foucault and Deleuze, but you can’t really mash all of them into a same philosophical movement.