Linking to a Customizer control

Question

I am trying to set up a link that automatically takes the (admin) user inside a Control that is inside a Panel in the Customizer.

Panel:

panel

Control:

control

Here’s the URL I currently have:

admin_url( 'customize.php?autofocus%5Bcontrol%5D=header_transparent_link' )

With the above in place, it takes me to inside the Header panel but not the Transparent Header control.

I also tried

admin_url( 'customize.php?autofocus%5Bpanel%5D=kadence_customizer_header&autofocus%5Bcontrol%5D=header_transparent_link' )

without success.

Any ideas?

Thanks in advance.

0
Sridhar Katakam 4 months 0 Answers 12 views 0

Leave an answer