Do baptised Christians of all denominations have to be married in a church for it to be recognised by God?

Do baptised Christians of all denominations have to be married in a church for it to be recognised by God?
Post Opinion