WordPress 仪表板
我需要在wordpress中创建一个仪表板小部件。可以创建仪表板小部件吗?如果可以,我们需要将小部件创建文件保存在哪个文件夹中。
谢谢
I need to create a dash board widget in wordpress.It is possible to create a dash board widget?If yes,In which folder we need to save the widget creation file.
thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
WordPress Codex 提供了有关如何注册所有内容的大量信息。只要文件位于插件目录中,文件位于何处并不重要,并且您的文件需要使用正确的函数将其内部的函数注册为仪表板小部件。
WordPress Codex has extensive information on how to register everything. It wouldn't matter where the file is as long as it's in the plugins directory, and your file needs to use the proper functions to register functions inside it as a dashboard widget.
这帮助我得到了它:)
http://rick.jinlabs.com/2009/02/01/how-add-options-to-your-wordpress-27-dashboard-widgets/
以及上述文章链接到一开始。
This helped me get it :)
http://rick.jinlabs.com/2009/02/01/how-add-options-to-your-wordpress-27-dashboard-widgets/
along with the link the above article links to in the beginning.