admin管理员组文章数量:1384778
I would like to add code to the top of the sidebar.
When I do:
add_action('get_sidebar', 'function')
It adds above the sidebar DIV. I would like to insert inside the DIV.
If I do:
add_action('dynamic_sidebar', 'function')
It goes in between every single widget and inside all widget areas.
I just want to add some code above all widgets in the right or left sidebar.
Thank you.
本文标签: functionsHow do you insert code into the sidebar
版权声明:本文标题:functions - How do you insert code into the sidebar? 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1744509861a2609814.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论