Archived topic
One live and one disabled hook?
1 reply · Started by Michele on August 18, 2017
Viewing posts 1–2 of 2
I have 2 hooks that I want to put in Before Header (in the Premium plugin.) There an mother organization banner that I want to always display, and some alert text that I want to keep disabled, unless there is a problem I need to alert users about. Basically one is always on and the other usually disabled. What's the best way to do this?
Hi there,
You can wrap the alert text in a div like this:
<div class="alert-text">
alert text here
</div>
Then use CSS to hide it when you need to:
.alert-text {
display: none;
}
This archived topic is closed to new replies.