Q. Dear Rov. Is it true that the Shulchan Aruch wrote that the minhag – tradition of doing ‘Kaparot’ is a ‘Minhag Shtus’ (silly act)?

A. Shulchan Aruch (O.H. 605: 1) indeed rules that one should avoid the minhag of Kaporos.
Beis Yosef (ibid.) quotes the Tur and Ramban, that it is prohibited and one transgresses the sin of following the ways of the Emorites
.
The first eighteen editions of the Shulchan Aruch kept this ruling, declaring Kaporos to be a silly and zany tradition.
However Rema maintains that the tradition is proper and mentions that many living in the Ashkenazi sites keep the tradition an it should be observed

Rabbi A. Bartfeld as revised by, Horav Dovid Pam, Horav Aharon Miller, Horav Chanoch Ehrentreu and Horav Kalman Ochs Shlit’a