WordPress Theme: zBench

» 2010-04-09 710条评论

zBench is simple two-column wordpress theme which works well with latest wordpress version. Simple and elegant style make you a premium experience of your website. New wordpress3.0 features, widgets and threaded-comments support, without any plugins needed (support plugin WP Page Numbers,  WP-PostViews,  wp-utf8-excerpt,  Related Posts of Simple Tags).

Features:

  • Custom header graphic – easily upload your own images for the header
  • Custom background graphic
  • Visual editor
  • WordPress  3.0 custom menus
  • comment smilies support
  • customed link for RSS, Twitter, FaceBook

Works with:

  • IE6, IE7, IE8 & IE9
  • Firefox
  • Chrome
  • Opera
  • Safari

Designed for WordPress 3.0+. Recommend work for WordPress 3.8+

License:

This theme is distributed under the GNU General Public License (GPLv2).

Demo:

Demo in demo.zww.me

Download:

Download zBench from WordPress.org


Advanced WordPress Service

Want a customed wordpress theme? I can offer you the following professional services.

  • Custom WordPress Themes
  • Technical Support & Maintenance
  • Custom Jquery effects
  • Custom your current theme

Contact me: zwwblog[at]gmail.com


Language Package:(Thx for volunteers)

  • Turkish (tr_TR): laztrix - diviksfilm.com && Hakki dilek - desteksitesi.net
  • Norge (nb_NO): norshotokan.com
  • Brasil (pt_BR): Henrique Cintra - http://holococos.sjdr.com.br/tecnologia/tema-gratuito-para-wordpress-em-portugues/
  • Russian (ru_RU): Vladimir - http://helpdesk.infoblog.ws and http://blog.infoblog.ws
  • French (fr_FR): Jean-Marc Paratte
  • German (de_DE): Sebastian
  • Spanish (es_ES): Francisco Santos
  • Czech (cs_CZ): Jirka Vilim
  • Hungarian (hu_HU): Bortnyák Roland
  • Portuguese (pt_PT): Pedro Fonseca
  • Bulgarian (bg_BG): Marin Draganov - http://draganov-info.com/
  • Polish (pl_PL): Andrzej Pauli
  • Dutch (nl_NL): Danny Klaassen
  • Indonesian (id_ID): Ivo Idham Perdameian
  • Japanese (ja_JP): Hide Uehara - http://o6asan.com/
  • Swedish (sv_SE): Per-Erik Eriksson
  • Italian (it_IT): dario
  • Serbo Croatian (sr_RS): Andrijana Nikolic

changelog:

= 1.4.2 =
* add js function: Handles toggling the navigation menu for small screens
* update screenshot
(说明:主题在小屏幕下的菜单点击下拉是用 css 模拟出来的,但听说 iPad 和 iPhone 下效果不好,所以改为原生 js 来实现了)

= 1.4.0 & 1.4.1 =
* remove back-compat for 3.4 (1.4.1)
* update screenshot to support HiDPI (1.4.1)
* Fix: A little bug in "Hide the title and description" (1.4.0)
* Fix: style of "#nav-below" in single post (1.4.0)
* Fix: Theme Options Style for WP3.9+ (1.4.0)
* Adjust Navi' style (1.4.0)

= 1.3.8 & 1.3.9 =
* Simple Responsive for Mobile | 加了简单的响应式处理,针对移动设备访问
* Remove the custom navigation Home links | 移除自定义导航时默认的首页链接
* Adjust the structure | 整体结构稍微调整了下,配合响应式。

= 1.3.7 =
* edit: google+ page link - used rel="publisher" instead rel="me" | 更改 Google+ 的 rel 为 me
* Add Sidebar [select] css | 对侧边栏的 select 标签加了样式
* Fix: double title in feed | 修正 Feed 里面双网站标题的 bug
* Update: Polish translation files | 增加波兰语言包
* Update: Serbo Croatian translation files | 增加塞尔维亚克罗地亚语言包

= 1.3.6 =
* make "Powered by..." message translatable
* enqueue comment-reply script via callback | comment-reply改用callback回调方式加载
* use 'wp_title' filter replace hard-code in head. | 用filter替换hard-code方式的wp-title(官方推荐)
* Fix: If no featured-image, it will generate an empty "a" link | 修正没有特色图片时的空链接问题
* Add Italian translation files | 增加意大利语言包
* use new Custom Headers, Custom Backgrounds function | 使用WP3.4规定的新函数,并作向下兼容

= 1.3.5 =

* Any details of the changes
* Fix: "home link" style in front page. | 修正front page的首页链接显示问题
* Add Japanese, Swedish translation files | 增加语言包:日本、瑞典

= 1.3.4 =
* Forgot few files to upload...

= 1.3.3 =
* Fix: comments state tips. | 修正评论状态判断
* Fix and Modify: #gotocomments change to .gotocomments, #addcomment change to .addcomment | 修正“重复使用ID”的低级错误
* Modify: the parameters of function wp_nav_menu()
* Modify: Any element's css property in class "entry"
* Add Bulgarian, Polish, Dutch, Indonesian translation files | 增加语言支持:保加利亚、波兰、荷兰、印尼

= 1.3.2 =
* Remove function_exists() conditional wrappers from wp_nav_menu() | 移除wp_nav_menu()的function_exits()判断(官方要求)
* Add "comment content" css style
* Add css properties "max-width" to limit class "wp-caption" width | 给wp-caption增加max-width
* Add new Option: Left Sidebar style select | 增加选项,侧边栏可以显示在左边或者右边
* Add Portuguese translation files | 增加葡萄牙语言支持

= 1.3.0 = 1.3.1 =
* Add custom page template: Page without Sidebar | 增加无侧边栏自定义页面模板
* Modify: read more style & Custom read more link function. | 修改 read more 样式细节和自定义加<--more-->方式的的样式函数
* Any details of the changes | 其他一些细节调整
* Update Hungarian translation files (1.3.1) | 更新匈牙利语言包

= 1.2.9 =
* Fix: Getting the "Undefined index" errors when saving theme settings with debugging turned on | 修正 debug 模式下无所谓的 "Undefined index" 错误提示——为了通过蛋疼的人工审核又加了版本号……
* Correct button of "reset all setting" positions | 修正英文版本 reset 按钮的位置

= 1.2.8 =
* Add pingback/trackback for commentlist | 评论输出改为全部(包括Pingback/Trachback——并定义了其专有样式)
* Modify archive.php: add is_author for author archive page title | list文章列表页面增加作者文章列表标题判断
* Modify index.php: add is_search() for search result page title | 增加搜索结果页面的标题显示
* Add Hungarian translation files | 增加匈牙利语言包
* Correct translation of the missing words | 修正遗漏的翻译字句
* Add reset button for theme options | 增加主题设置的 reset 按钮

= 1.2.7 =
* Add Header image URL | 给自定义头部图片加上链接,后台可以自定义链接地址,默认是首页
* Add rel=me/rel=author for Blog author | 跟博客作者链接加上 rel="author",Google+链接加上rel="me"属性
* Add option: Custom Social Media(2) | 增加2个自定义社交网络链接
* Add option: hide the title and description | 增加隐藏标题和副标题选项
* Add Czech translation files. | 增加捷克语言包
* 另外稍微优化了后台设置代码以及其参数调用。

= 1.2.6 =
* Fix: wp_title | 修正在木有设置副标题时,title的显示bug
* Fix: current page menu sytle | 修正自定义菜单当前菜单的下拉样式
* Add: Google+ links option | 增加 Google+ 的链接自定义
* Modify: rss,twitter,facebook links icon and style | 更改rss, twitter, facebook这些链接样式和图片

= 1.2.5 = (2011.7.2)
* Fix: "#header h2 a" line-height | 修正博客标题行高过低导致英文字母显示不全
* Fix: remove the "reply button" css attribute "width" | 移除评论回复按钮的“width” css属性以增加多语言兼容
* Add German, Spanish translation files.

= 1.2.4 = (2011.6.20)
* Fix: p tag attributes error in IE(editor-style.css) | 修正编辑器即改即见在IE下 p 标签变成 box 的问题
* Modify: pagenavi-css | 修改了WP-pagenavi 插件样式
* Add Russian, French translation files.
* Fix: more like English grammar mistakes. | 修正英文语法错误词句
* Fix: few English grammar mistakes.

= 1.2.3 =
* Modify: When no comment don't show some hints, such as "Leave a comment", "Go to comment".
* Add css attributes for "#respond code".
* Remove css attributes "font:inherit": Fixed such as 'strong' tags failures.
* Add recommended functionality: add_custom_background();
* Add Brazil translation files.

= 1.2.2 = (2011.5.8)

* Add recommend function:add_editor_style()
* Add link to thumbnails
* Add language pack of turkey,Norway
* Fix the style of smily inserted to the post
* Fix content_width
* Add the width limit to picture [css:max-width]
* Add readme.txt which include the changelog
* some fix of codes

= 1.2.1 = (2011.2.14)

* Recompose the code of dashboard [Code optimization]
* Add the support of thumbnails
* Allow to custom the header graphic
* some fix of code & style

= 1.1.6 = (2011.1.24)

* Fix some codes & bugs
* Add language pack:just Simplified Chinese so far
* Remove the mark of “Valid CSS3 & HTML”[for some compatibility fix]

= 1.1.4 = (2010.10.3)

* Fix the warn of error page
* Fix the classname of page/post
* Change the havor color of navigate menu[header],current page,category

= 1.1.3 = (include 1.1.1~1.1.2, 2010.9.30)

* Fix the bug of post_class() in Ver.1.1.0
* Fix the link position of twitter & facebook
* Some other changes

= 1.1.0 = (2010.9.28)

* Only WP3.0+ support
* Change: For WordPress version 3.0+
* Add: Custom menu support & Multi drop-down menu
* Any details of the changes

= 1.0.8 = (2010.6.7)

* Optimization
* Details of the changes

= 1.0.7 = (2010.5.23)

* Fix: The primary widget area
* Add: Custom sidebar calendar format

= 1.0.6 = (2010.5.9)

* Add Widget Area: The primary widget area, The singular widget area, Not Singular Widget Area, The footer widget area

= 1.0.5 = (2010.5.4)

* Change: search style
* Fix: Page and category selection

= 1.0.4 = (2010.4.26)

* Comment box style changes
* Resubmit...

= 1.0.3 = (2010.4.22)

* Fix: Any bug in index.php & archive.php
* Fix: Css3 error
* Change: Add "box-shodow" to id of #search

= 1.0.2 = (include 1.0.1, 2010.4.13)

* Add:Dashboard:1.custom the display of navi-menu[Page or Category];2.customed RSS address;3.custom your twitter&facebook link
* Add the theme mached style(CSS) of plugin WP-RecentComments & WP-PageNavi
* Add the support for WP-PageNavi plugin
* some other fix

= 1.0.0 = (2010.4.8)

* First version

screenshot

-Home

-Single, Page & Comment

- Theme Options

zww
or
oooo

“WordPress Theme: zBench”有710条评论

  1. 老曦 says:

    Z老大,可以麻烦移步到我主页看看吗?我的TWITTER挂件加上后总是出现不知道哪里来的灰色条~~貌似是CSS出错的关系。还有FLICKR挂件也出现过。

    1. zwwooooo says:

      @老曦
      把ul外面的

      <div class="aktt_tweets"></div>

      去掉

    2. 老曦 says:

      @zwwooooo
      多谢Z大~问题已解决~~非常感谢 :grin: :grin: :grin:

    3. zwwooooo says:

      @老曦
      不用客气,呵呵

  2. 嘿,昨天无意中看到这个模板,就马上喜新厌旧了,嘿嘿。谢谢哈。

    问个问题哈,在从文章分类或tag中点的文章,页面显示的文章是不分段的,我原先写的东东偏长,看起来非常乱,这个该如何修改呢?

    1. @裸奔的鱼
      我已经搞定了,不老老大费心了,谢谢。

    2. zwwooooo says:

      @裸奔的鱼
      主题默认是显示摘要,搞定就好

  3. NianQing says:

    现在正使用这个主题,谢谢博主!

    请教一下,修改主题的背景颜色,需要怎么改?谢谢哈!

    1. zwwooooo says:

      @NianQing
      style.css: body{}里面的 background

  4. cfc4n says:

    感谢。用了您的这个主题,保留版权链接。只是稍作修改。感谢作者。

    1. zwwooooo says:

      @cfc4n
      荒淫使用,可以随意修改,但要保留链接,哈

  5. 影浅 says:

    怎样才可以只显示摘要和导航不是上一页 而是1 ... 4 5 6

    1. zwwooooo says:

      @影浅
      1.摘要:把index.php里面的the_content(__('» Read more...'))改为the_excerpt(__('» Read more...')),如果要完美支持中文就再加个插件(如wp-utf8-excerpt或者wp-kit-cn)
      2.导航,装上插件 wp-pagenavi 即可

  6. 影浅 says:

    关于置顶文章无法..你看看我的首页可以了

    1. zwwooooo says:

      @影浅
      置顶的同个代码,我看了,你的正常啊,只是你置顶的文章一行文字较少,所以会有很多行凑够文字个数。

  7. 影浅 says:

    少了继续阅读那行

    1. zwwooooo says:

      @影浅
      不知道是否你修改错误,你把index.php的11~17行的代码贴给我看看(在我这评论里贴代码用<code></code>括住)

  8. 影浅 says:
    
    <?php
    if (is_single() or is_page()) {
    				the_content("");
    			} else {
    				the_excerpt("");
    			} 
    		?>
    
    1. zwwooooo says:

      @影浅
      我重新测试过zBench 1.1.4,没有出现你的问题,问题出在你修改过的index.php,你认真检查一下是否有没有闭合的div/php语句。

  9. so says:


    有错误

    1. zwwooooo says:

      @so
      什么错误

  10. so says:

    看这里
    有错位

    1. zwwooooo says:

      @so
      你的div(id为content)没有闭合,自己修改主题注意一下,主题本身没问题,不信你用新下载的zbench试试 :mrgreen:

    2. zwwooooo says:

      @so
      有错误的因为有文章分页导航,你的问题就在这里了,你对照刚下载的zBench里面的archive.php和你修改过的archive.php,你完全可以替换测试查找问题所在。
      注意这里的分页导航有一串if语句,如果没修改好很容易出错。

    3. zwwooooo says:

      @so
      要不你把你的index.php和archive.php发到我邮箱吧,我帮你看吧,我指出问题所在你又不会修正,老说是主题问题,主题我认真检查过,而且也问过其他使用的朋友,没有你的问题,你又不说你到底修改了那里,只会说错误!错误!谁也帮不了你。

    4. s says:

      @zwwooooo
      我没修改过,

      其实你误会了, 我想说的是兼容问题,
      上面给的两个URL就说明问题的了

    5. zwwooooo says:

      @s
      但是我这里没有问题,按照我的经验,产生这样的问题通常是文章截断插件造成的,文章截断插件有个鸡膊问题:刚好截断到连接或者图片什么的会出现错误,导致一些div没有闭合。

  11. ray ban says:

    不错,我的资源站也是用的这个模板

  12. Hello,

    My name is Dave Donaldson and I'm part of a company called Max Foundry (we're in the business of making themes, plugins, and starter kits for WordPress). I wanted to let you know that we've just released our blog starter kits, and we thought you'd like to know that we included your popular zBench theme. You can see the kits at http://maxfoundry.com/starterkits.

    Thanks for creating a great WordPress theme. If you have any questions about our starters kits, just let me know. And if you'd like to spread the word about the kits, that would be great.

    Cheers,
    Dave Donaldson

  13. 先看看 says:

    这个不错

  14. fifacana says:

    奇怪了,我的后台主题选项里怎么没有设置导航分页/页面的?难道我下的是山寨版?求助版主了,多谢!

    1. zwwooooo says:

      @fifacana
      新版取消了,因为用了wp3.0才有的自定义菜单,你去后台-》主题-》自定义菜单,设置。

  15. creolophis says:

    请教一下z大,怎么删除zbench下面的那段

    您可以使用这些 HTML 标签和属性:

    ??
    找了好多文件都没找到这些字,另外,你评论区的edit-tool是怎么弄上去的?有教程吗?谢谢~ :grin:

    1. zwwooooo says:

      @creolophis
      用css隐藏吧,你打开style.css,在最后面加上
      .form-allowed-tags{display:none;}
      那些是js,网上有相关代码吧,要自己搜一下,或者去qiqiboy.com那里找找吧。

    2. creolophis says:

      @zwwooooo
      额..在include下的comment-template下找到了

  16. creolophis says:

    又有问题了...
    这个最新版中,#wrapper的位置貌似和#header是重叠的,请问怎么样才能拉伸到它应有的位置去,就是要包括#content,#side-bar,#footer等一些内容??
    ,这位童鞋弄得不错,但我css水平一般,能发现问题,但解决不了,麻烦z大帮忙改下吧 :smile:

    1. zwwooooo says:

      @creolophis
      请问怎么个重叠法?为什么要包住?zBench本来就是这样的html结构,为什么要去改变?
      如果是你自己要修改而不是主题有bug,我没办法帮忙修改,因为忙啊,多翻翻css教程,用firebug调试不是很难

  17. creolophis says:

    链接不知道怎么弄掉了,补上来
    http://www.evlos.org/2010/07/20/covered-with-zbench/
    邪罗刹的菠萝阁

    1. zwwooooo says:

      @creolophis
      小邪编程很厉害的,所以css对于他来说不难学。

  18. 风雨 says:

    老大,你好,我用这个主题怎么不能添加小工具啊,另的只把把工具拖到旁边就好了,这个拖不动,要怎么办啊

  19. 风雨 says:

    老大,能否做成支持Widget,想改一侧边栏,代码不会改啊

    1. zwwooooo says:

      @风雨
      这主题本来就支持widget,你哪里搞错了?检查一下吧。另外这个主题支持几个widget区。

    2. 风雨 says:

      @zwwooooo
      是我搞错了,是支持的,但是我不知道后面那三个区Singular Widget Area,Not Singular Widget Area ,Footer Widget Area有什么区别,

    3. zwwooooo says:

      @风雨
      顾名思义吧
      Singular Widget Area:只在文章页、页面显示
      Not Singular Widget Area:首页、分类文章列表等页面显示
      Footer Widget Area:侧边栏最下面显示,一般用来放登录、统计、广告啥的。

发表评论

昵称 *

网址

B em del U Link Code Quote