There seems to be quite a bit of confusion floating around about the categories of Church teaching so I thought I might try to make some sense of it. I’ll try and avoid excessive detail.
The Catholic Church has a hierarchy of the categories of teachings that include (from top to bottom) dogmas, doctrines, disciplines, and devotions.
Dogmas are the fundamental teachings of the Church. The basic catalog is the articles in The Apostles’ Creed (The Apostles’ Creed is a sort of pageant that has one article or verse for each of the twelve apostles—but that’s a post for another time). There are many other dogmas including Transubstantiation, the Immaculate Conception, and others. Oddly, there doesn’t appear to be a completely inclusive list of Church dogmas and scholars and clerics differ somewhat on what the dogmas of the Church actually are. Dogmas are universal and unchanging. So long as Catholicism remains Catholicism you won’t see a change in the dogmas of the Church. Canons of Church councils are dogmatic.
Doctrines are, broadly, the teachings of the Church. Every dogma is a doctrine but not every doctrine is a dogma. A doctrine may apply to a specific community within the Church. It may be binding and authoritative to them and not to other communities within the Church. Papal encyclicals are doctrinal. Doctrines may be different within different communities within the Church and may change over time. For example, Pius IX (IIRC) taught against political democracy. John Paul II taught in favor of political democracy.
Disciplines are practices that spring from the magisterium—the teaching office—of the Church and definitely have changed over time. The disciplines of indulgences and fasting have changed enormously since the Middle Ages, for example.
That women are not ordained and that priests are not allowed to marry are matters of discipline. These practices are authoritative and binding but may (and in my view are likely) to change in time.
Does that help?