No clerk of the district court or county clerk in counties wherein such clerk is ex officio clerk of the district court, shall accept employment or retainer as an attorney-at-law or give any advice as such in any action, cause or proceeding pending in the court, wherein he is such clerk.
W.S. 5-3-213