Unyson icon indicating copy to clipboard operation
Unyson copied to clipboard

Customizer Options and Page ID

Open NwpDeveloper opened this issue 10 years ago • 3 comments

Is it possible to get the page id of the customizer iframe into customizer.php?

NwpDeveloper avatar Mar 23 '16 21:03 NwpDeveloper

Unyson doesn't offer such possibility/feature. You can try to do hacks like checking current url or current screen.

ghost avatar Mar 23 '16 21:03 ghost

Also on Customizer page you can navigate through frontend pages by clicking the links, the iframe is updated (and the url, if I remember correctly) but the customizer elements remain the same and only are hide/show from javascript.

ghost avatar Mar 23 '16 21:03 ghost

Maybe you are looking for active_callback parameter? https://github.com/ThemeFuse/Unyson/issues/1082

ghost avatar Mar 23 '16 21:03 ghost