From the booklet of Rabbi David Shalom Naki, shlit"a: a person should be careful not to kiss the face of his father, his son, or his friend in the synagogue, so that we fix in our hearts that there is no love like our love for HaMakom, blessed is He. A father who kisses his sons after tefillah should try to do so outside. So wrote Rabbi Yitzchak Hazan in Yechaveh Daat, and Rabbi Yehoshua Maman, zt"l.