Each township may codify, recodify, and continue in code its ordinances, in whole or in part, without the necessity of publishing the entire code in full. The ordinance adopting the code, as well as subsequent ordinances repealing, amending, continuing, or adding to the code, shall be published as required by law. The ordinance adopting the code may amend, repeal, revise, or rearrange ordinances or parts of ordinances by reference by title only.