網生@誌 | zEUS.'Blog

首页 » Wordpress模板 , 原创主题 » 2008-08-26 »

WordPress 主题模板:大菠萝3 Diablo III

Tag: , ,

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

最新版本:1.08.08.25

作 者:zEUS. & Dogorgod

作者链接:http://zeuscn.net | http://www.dogorgod.com/blog

Diablo, wordpress, theme

截图预览(由于外观没有任何改动,截图预览依然使用 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 订阅图标的下方,可以自定义几个推荐链接。

diablo, wordpress, theme

打开 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.

« »

相关文章

已经有138人发表了评论

  1. 谢谢 在用了 非常好看!

  2. 2.7正式版出来啦。
    zEUS什么时候有时间把细节改进下,就是上次说的那个404页面,图片宽度的问题~~

  3. zEUS 404页面有点错位,可能是404那个图片导致的。
    另外,插入的图片宽度为500时也有错位。

    请问如何修正?

    IE6.0

  4. 同意上面那位仁兄的观点!

  5. 网页尾部总是显示 “ 页面 (1): 1 ”,而实际上应该有好几页内容的,按首页、分类、标签查看都会有这个问题

  6. 发现这个主题文件在标题有两行的时候正文就会向上移,跑到Tag 上面去了!

    这个需要如何修改啊?

  7. @paaboo:不好意思,暂不考虑IE8的兼容性问题… 宽屏适用范围太窄了,所以也暂时不考虑…
    @大鱼:我去你的站看了下,问题很奇怪…. 等我完善之后用新的版本试试吧~
    @ZelluX:文章中不支持H2等标签,但是 UL OL LI 都是支持的
    @5mu:恩,我也觉得 :mrgreen:

  8. :mrgreen:

    适合游戏为主题的网站

  9. 两个问题:
    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

    % [*] [width] [type]

    [*] 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.

  10. 右侧边栏错位怎么解决啊,谁能说具体点?

文章反相链接 Pingback/Trackback

  1. hypnosis for weight loss
  2. how to do facebook symbols
  3. bingo game set for kids
  4. how to fix eye floaters
  5. New England Patriots Giants Pick Against the Spread
  6. Marketing
  7. Lucia Emiraz
  8. old gold jewelry
  9. photographer in Bicester
  10. document scanner

发表您的看法