Where necessary and appropriate, the court shall enter orders, whether temporary or permanent, pursuant to and in compliance with this article for the maintenance of children in actions for divorce, annulment, paternity, support, out-of-home placement and any other action for the maintenance or support of children.