最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

Linking to a Customizer control

programmeradmin5浏览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:

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.

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:

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.

Share Improve this question asked Sep 29, 2020 at 13:10 Sridhar KatakamSridhar Katakam 1552 silver badges23 bronze badges
Add a comment  | 

1 Answer 1

Reset to default 0

Solved.

admin_url( 'customize.php?autofocus%5Bsection%5D=kadence_customizer_transparent_header' )

与本文相关的文章

发布评论

评论列表(0)

  1. 暂无评论