Good evening,
I'm having a problem with the WordPress customizer. When the page loads it shows my controls, but after a fraction of a second an in-line style of display: none
is added to them, resulting in them being hidden.
Can anyone give me some ideas as to what to look for? I've removed by 'active-callback'
argument to make it simpler.
All ideas welcomed - its driving me crazy!
EDIT:
Plenty more digging and it appears that it happens when the add_action
is contained within an if(is_admin()):
. Why would this be?
Cheers
Jamie