(1) Any municipality within the State of Mississippi may, in the discretion of its governing authority, adopt building codes, plumbing codes, electrical codes, gas codes, sanitary codes, or any other codes dealing with general public health, safety or welfare, or a combination of the same, by ordinance, in the manner prescribed in this section. Before any such code shall be adopted, it shall be either printed or typewritten, and it shall be presented in pamphlet form to the governing authority of the municipality at a regular meeting. The ordinance adopting the code shall not set out the code in full, but shall merely identify the same. The vote on passage of the ordinance shall be the same as on any other ordinances. After its adoption, the code shall be certified to by the mayor and clerk of the municipality, and shall be filed as a permanent record in the office of the clerk, who shall not be required to transcribe and record the same in the ordinance book as other ordinances. It shall not be necessary that the ordinance adopting the code or the code itself be published in full, but notice of the adoption of the code shall be given by publication in some newspaper of the municipality for one (1) time, or if there be no such newspaper, by posting at three (3) or more public places within the corporate limits, a notice in substantially the following form: Notice is given that the city (or town or village) of _________, on the (give date of ordinance adopting code), adopted (state type of code and other information serving to identify the same) code.