There is no problem if you share custody with your ex-spouse and your kid. It is not necessary that your child attend it on regular bases. It is appreciated if kids are attending every week. It is not compulsory to attend the classes for kids or even your and your ex-spouse.
You must have to get the schedule to adjust your timing so that you are able to attend the classes and share the custody with your kid and ex-spouse. The classes do not give proper grade or give any fine to the parents.
It depends on you to take care of your kid and also meet the ex-spouse to get the advantage of the custody. Parent’s needed to attend the custody to get the advantage to meet the ex-spouse.