(a) Compliance with Code. It shall be unlawful for any person to keep livestock, except in compliance with the provisions of the county zoning ordinance. (b) Transporting through county. The preceding section is not to apply where such animals are being transported through the county for bona fide sale or for slaughter, and only temporarily kept in the county. (c) Running unattended. It shall be unlawful for any person to allow any livestock, which includes but is not limited to, horses, mules, jacks, cattle, hogs, goats or sheep to run unattended.