Except as otherwise provided by law, in any election in which all voters of a county participate, the costs relating to the election shall be paid by the county from funds appropriated therefor. In all other elections, costs shall be paid from funds appropriated by the governing body of municipalities, school districts, and other political subdivisions requiring an election for their own purposes. Costs relating to a combined municipal and school board election may be shared under the provisions of §§ 9-13-1.1 and