What is the ruling on the Friday bath (ghusl al-Jumu'ah)?
The Friday bath is a confirmed Sunnah, based on the Prophet's (peace be upon him) saying: "Whoever performs ablution on Friday, it is good for him, and whoever takes a bath, bathing is better." (Reported by Abu Dawud and al-Tirmidhi who said it is a hasan hadith). It is recommended for everyone who wants to attend the Friday prayer, even if they are not from its usual attendees, like a woman or a boy.
If a person is in a state of major impurity (junub) and intends by his bath both lifting the major impurity and the Friday bath, he achieves both. If he intends only one of them, he achieves only what he intended. And Allah the Almighty knows best.
What is the ruling if someone wipes his head then shaves it - must he repeat it?
If a person performing ablution shaves his head after wiping it during ablution, he is not required to re-wipe his head or repeat the ablution. And Allah the Almighty knows best.
Is wearing a cap permissible for boys, or girls?
All Perfect Praise is due to Allah, The Lord of The Worlds.
In principle, anything is permissible sol long as there is no Sharia evidence prohibiting it, thus wearing the cap by boys is permissible as long as it isn`t done in imitation of the disbelievers. Moreover, a Muslim woman should avoid all that which attracts the attention of men because whatever leads to the forbidden is forbidden. And Allah Knows Best.
What is the ruling on ablution if vaginal discharge is expelled, and is it impure?
If these discharges exit from the external genitalia (apparent part of the vagina), they are not impure and do not invalidate ablution. If they exit from the internal part, they are impure and do invalidate ablution. If it is uncertain whether they are from the internal or external part, they are not impure and do not invalidate ablution.
The apparent part is what becomes visible when sitting, and what the husband's penis reaches during intercourse is considered part of the apparent. The internal part is what is beyond that. And Allah the Almighty knows best.