WordPress 主题模板:大菠萝3 Diablo III
Tag: Diablo III , wordpress , 主题模板主题名称:Diablo III
主题链接:http://www.dztheme.com/
描 述:这是一款三栏 Diablo III 风格的 WordPress 主题模板,由 Dogorgod 设计主题整体外观,zEUS. 实现代码化以及小范围外观修改。这款主题默认支持 widgets 设置,内置了翻页功能、评论 Gravatar 头像、作者及游客的评论背景色区分、访客评论和 Trackback 分离等功能。兼容 Firefox 3.0+ IE6 IE7 等国内主流浏览器。
最新版本:1.08.08.25
作 者:zEUS. & Dogorgod
作者链接:http://zeuscn.net | http://www.dogorgod.com/blog

截图预览(由于外观没有任何改动,截图预览依然使用 BETA 版的):
首页 index.php | 单篇日志页 single.php | 页面页 page.php | 归档、分类及搜索结果页 archive.php/search.php | 404页
整站预览:
http://zeuscn.net/demo/?theme=Diablo_0825
下载地址:
http://code.google.com/p/zeuscn/downloads/list
插件支持:
完美支持 WP Kit CN 插件,一款增强侧栏 Widgets 功能的强大插件!
特别感谢(排名不分前后):
page 、知更鸟 、小白 等反馈 Beta 版 BUGS 的同学们~
这块模板依然有几处可以自定义的地方:
1、左侧栏的 Rss 订阅图标的下方,可以自定义几个推荐链接。

打开 sidebar-l.php 找到如下函数
1 | <?php wp_list_pages('sort_column=menu_order&depth=1&title_li=');?> |
这里默认显示页面链接,还可以使用 wp_list_categories 函数指定显示几个分类。或是自己手动在 top 容器内写入一些链接:
1 2 3 4 5 6 7 | <div class="top"> <ul> <li><a href="#">链接甲</a></li> <li><a href="#">链接乙</a></li> <li><a href="#">链接丙</a></li> </ul> </div> |
2、定义页脚的随机友链的个数,打开 footer.php 找到
1 2 3 | <div class="random-link"> <?php get_links(-1, '', '',0,0, 'rand', 0, 0, 6, 0); ?><!-- 修改数字 6 即可修改在页面底部显示的随机友链的个数 --> </div> |
即可根据需要修改个数。
3、文章内图片的边框属性:
1 | <img src="图片地址" class="img_border" /> |
这其中的 img_border 样式我已经写在主题的 CSS 里了,凡是文章内的图片加上了这个属性后都可以显示出边框,效果要比没有边框的好看。在主题的整站预览中就可以看到效果。
最后还是一如既往的希望朋友们能反馈 bugs 和提出建议~
zEUS.
谢谢 在用了 非常好看!
2.7正式版出来啦。
zEUS什么时候有时间把细节改进下,就是上次说的那个404页面,图片宽度的问题~~
zEUS 404页面有点错位,可能是404那个图片导致的。
另外,插入的图片宽度为500时也有错位。
请问如何修正?
IE6.0
这块模板在 WordPress 2.7 正式发布之后会有些小调整的。多谢反馈 BUG
不过其中由于文章栏的宽度固定了,所以插入文章内的图片宽度是有限制的。
出新版2.7.1了~什么时候把暗黑模板晚上下呀?谢谢啦!
很抱歉,近期都没精力折腾暗黑的模板,工作计划早已排满了…
同意上面那位仁兄的观点!
网页尾部总是显示 “ 页面 (1): 1 ”,而实际上应该有好几页内容的,按首页、分类、标签查看都会有这个问题
发现这个主题文件在标题有两行的时候正文就会向上移,跑到Tag 上面去了!
这个需要如何修改啊?
@paaboo:不好意思,暂不考虑IE8的兼容性问题… 宽屏适用范围太窄了,所以也暂时不考虑…
@大鱼:我去你的站看了下,问题很奇怪…. 等我完善之后用新的版本试试吧~
@ZelluX:文章中不支持H2等标签,但是 UL OL LI 都是支持的
@5mu:恩,我也觉得
适合游戏为主题的网站
两个问题:
1. 开启分类列表的“显示层次”后,下级列表的背景会凸出来
2. 日志中使用h2 li等标签时,该主题下的排版会混乱
使用其他的主题没有出现类似问题
有问题的日志代码:
Description
scanf provides formatted input from standard input, strings, or
files, using a format-string syntax that’s similar to C’s scanf().
The syntax should be familiar to C programmers, and offers very simple
pattern matching against strings and files.
Functions
scanf(formatString) formatted scanning across
sys.stdin. Returns a tuple of the captured results.
sscanf(inputString, formatString) formatted scanning
across strings. Returns a tuple of the captured results.
fscanf(inputFile, formatString) formatted scanning
across files. Returns a tuple of the captured results.
Supported syntax
[*] suppresses variable capture. Optional.
[width] defines maximum number of characters.
Optional.
[type] defines the type of the format string. We’ve
implemented the following:
d
decimal integer.
i
integer. The integer may be in octal (leading zero) or
hexadecimal (leading 0x or 0X).
o
octal integer (with or without leading zero).
x
hexadecimal integer (with or without leading 0x or 0X)
c
characters. The next input characters (default 1) are
placed at the indicated spot. The normal skip over white space
is suppressed; to read the next non-white space character, use
%1s.
s
character string (not quoted).
f
floating-point number with optional sign and optional decimal point.
%
literal %; no assignment is made.
右侧边栏错位怎么解决啊,谁能说具体点?