Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS [Solved] Is display none the right way to hide an element? Reply To: [Solved] Is display none the right way to hide an element?

#188639
iizag
Participant

I want to hide it to remove it completely. I dont want that option showing. So if your saying then dont do display none, then edit the core files . But I thought it was always recomended not to touch core files, in my case, bbpress. So I can update smoothly in the future. So instead, whats my option? Is it possible to create a function in my child theme to remove it ?

like
if user is on user profile
then dont show “whats new”

with
if user is on their own profile
then dont show “what new”