WeakAuaras(WA) is an addon which provides a framework to create widgets and UI elements in World of Warcraft.
Using a custom frame to hide weakauras
Personally I do not like my class weakauras to be visible whenever I am out of combat. However I do want them to show up if I have an enemy target selected.
One way to build this is via a custom frame which only activates when one of your provided conditionals are true. For example, have a valid target, be in a dungeon, cast a spell or be in combat. Set the parent frame of your weakauras to your custom frame and enable ‘set parent to anchor’.
- Create a new aura of type 
Empty Base Region. Name itMyAnchor. - Create a trigger for each condition you want.
- Trigger 1: Player/Unit Info > Unit Characteristics > Unit = Target
 - Trigger 2: Player/Unit Info > Conditions > In Combat
 
 - Set the activation to 
Any Triggersat the top of the triggers tab. - Navigate to the 
Grouptab of your class weakauras and thePosition and Sizesettings.- Specify 
Select framein theAnchored tooption and specifyWeakAuras:MyAnchor. - Make sure 
Set parent to Anchoris ticked. 
 - Specify 
 - Your class auras now only show up if any of the provided conditions are true.