html5 或 xhtml 中的 WordPress 主题?
html5 流行已经有一段时间了。用它来写博客好不好?它确实使 SEO 更好,但它是否会损害旧版不支持 html5 浏览器(如 IE6)的布局?
另外,我应该复制《二十》的部分内容,还是从头开始编写代码? Twentyten 必须由知道如何创建 wordpress-theme 的人创建。
马蒂·莱恩
It's been a while with html5 floating around. Is it good to use it for a blog? It makes SEO better for sure, but does it harm the layout with older not-supporting-html5 browsers, like IE6?
Also, should i just copy parts from Twentyten, or code from scratch? Twentyten must be created by someone who knows how to create wordpress-theme.
Martti Laine
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
这里有关于这个主题的很好的讨论:
http: //wordpress.org/support/topic/html-5-theme-for-wordpress-good-idea
我认为从某个地方开始总是一个不错的选择,无论是二十个,还是其中之一那里有很棒的主题框架(Thematic、WP 框架等),以免为每个自定义主题重新发明轮子。
:)
There is a good discussion on this topic here:
http://wordpress.org/support/topic/html-5-theme-for-wordpress-good-idea
And I think it is always a good choice to start from somewhere, whether it be twentyten, or one of the great theme frameworks out there (Thematic, WP Framework, etc.) so as to not reinvent the wheel with every custom theme.
:)
TwentyTen 是 html5 有效的: http://2010dev.wordpress.com/
但您可能需要这个插件来支持IE6下的菜单: http://wordpress.org/extend/ plugins/ie6-support-for-2010-theme/
另外,请查看您自己的主题开发的子主题:http://codex.wordpress.org/Child_Themes
并查看 2010 Weaver:http://wordpress.org/extend/themes/2010-weaver
TwentyTen is html5 valid: http://2010dev.wordpress.com/
But you may need this plugin to support the menus under IE6: http://wordpress.org/extend/plugins/ie6-support-for-2010-theme/
Also, look into child themes for your own theme development: http://codex.wordpress.org/Child_Themes
And check out 2010 Weaver: http://wordpress.org/extend/themes/2010-weaver
WordPress.org 主题存储库上提供了一些不错的 HTML 5 主题:
Just Css
工具箱
基线
还有:
H5 from Digging Into WordPress
其中大多数都是非常小的,旨在用作框架或基础起始主题。
There are a few good HTML 5 themes available on the WordPress.org Theme Repository:
Just Css
Toolbox
Baseline
There is also:
H5 from Digging Into WordPress
Most of these are very minimal and meant to be used as a framework or base starting theme.