Every ordinance passed by the governing body of a municipality, except as is otherwise provided by law, shall be certified by a municipal clerk, signed by the mayor or a majority of all the members of the governing body, recorded in the ordinance book, and published at least one (1) time in some newspaper published in such municipality, or, if there be no such newspaper, then in a newspaper within the county having general circulation in said municipality, or, if there be no newspaper published in or having general circulation in same, then in any newspaper published in the State of Mississippi having general circulation in said county; and all of same shall be done before such ordinance shall be effective. The publication of the ordinance may be made as provided in Section 21-17-19. No ordinance shall be in force for one (1) month after its passage; however, any ordinance for the immediate and temporary preservation of the public peace, health or safety or for other good cause, which is adopted by unanimous vote of all members of the governing body, may be made effective from and after its passage by a unanimous vote of all members of the governing body. However, in such cases, such ordinance shall contain a statement of reason why it is necessary that same become immediately effective. All such ordinances shall be published and recorded in the ordinance book in the same manner as other ordinances, but shall become effective immediately upon the adoption thereof, and prior to being so recorded and published. Nothing in this section shall apply to ordinances appropriating money for the payment of the current expenses of the municipality or the payment of sums due on any contract previously made.