无论主题如何,如何删除 WP 侧边栏小部件标题
我想创建与此类似的 WP 侧边栏小部件 一个:
正如您所看到的完整图形,我希望它无论安装什么 WP 主题都保持样式。
如何在 WP 中执行此操作?
我的意思是删除此特定小部件的 H 标签 或其他不需要的标签?
I would like to create WP sidebar widget similar to this
one:
As you can see its fully graphic and I want it to keep style regardless of WP theme installed.
How can I do that within WP ?
I mean to remove H tags or other unneeded tags for this particular widget ?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
从这里开始:http: //justintadlock.com/archives/2009/05/26/the-complete-guide-to-creating-widgets-in-wordpress-28
下一步:http://divitodesign.com/css/style-wordpress-widgets-with-css/
为了使小部件的样式与主题无关,您需要在小部件功能中设置或加载 CSS,以便您的特定选择器和图形将得到普遍应用。
Start here: http://justintadlock.com/archives/2009/05/26/the-complete-guide-to-creating-widgets-in-wordpress-28
Next: http://divitodesign.com/css/style-wordpress-widgets-with-css/
In order the have the widget's style be theme neutral, you'll need to set or load the css within the widget function, so your specific selectors and graphics would be universally applied.