0

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

Solved.

admin_url( 'customize.php?autofocus%5Bsection%5D=kadence_customizer_transparent_header' )
1
  • Glad you solved it! In general it would be useful when posting code snippet answers if you could explain what you've done, but I guess in this case it's just picking the correct section name for your theme? – Rup Sep 29 '20 at 23:47

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.