How to hide a div from certain roles.
-
I want to hide my div, “frogContent”(In Header.php) so that every role EXLUDING a subscriber can see it. I’m trying to keep it hidden on ALL pages from subscribers.
Is there a PHP condition tag I could use for this?
The whole div is a grey box with 3 smaller boxes inside of it located under the slideshow.
I would like to see if it works and how it works.
Thanks in advance!
https://www.fatfrogdesign.net/
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘How to hide a div from certain roles.’ is closed to new replies.