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. Oil88 says:

    呵呵,菜鸟不懂,所以问问呢。
    这博客新建的,一搭起来就把固定连接改为http://xx/%post_id%.html的形式,现在还一直有GET /test-post/ HTTP/1.1" 404 3956 "http://wblog.me/test-post/" 这个错误,所以觉得很郁闷。谢谢你上面的回复。

    1. zwwooooo says:

      @Oil88
      不清楚,我不鸟S1O的,固定链接跟主题无关,链接主题用的是wp函数生成的,每个主题都一样

  2. itakasugu says:

    嘻嘻~一个日本超有名的coser lenfried用了博主你的这儿主题 heru3.com

    1. zwwooooo says:

      @itakasugu
      这是我的荣幸

  3. tntC4stl3 says:

    博主你好,我用您制作的这个主题好久了,也一直觉得挺好用的~
    但是近期发现一个问题,就是在feed页面,title标签里的博客名出现了两遍。
    我自己不知道怎么解决,只好来您这里求助。。
    我看了一下你的demo界面(http://demo.zww.me/?feed=rss2),貌似存在同样的情况。
    盼回复,谢谢~!

    1. zwwooooo says:

      @tntC4stl3
      好的,我会修正一下

  4. Jarett says:

    Hello,我想知道为什么现在文章标题会默认跟一个博客名称在后面呢?导致出现两遍啊,蛋都碎了。。555

    1. zwwooooo says:

      @Jarett
      这个有人反馈过了,下个版本修正,你可以先手动修正一下:
      functions.php 大概 94 行,把下面的函数

      function zbench_wp_title($title) {
      	global $page, $paged;
      	$title .= get_bloginfo( 'name' );
      	$site_description = get_bloginfo( 'description', 'display' );
      	if ( $site_description && ( is_home() || is_front_page() ) )
      		$title .= " | $site_description";
      	if ( $paged >= 2 || $page >= 2 )
      		$title .= ' | ' . sprintf( __( 'Page %s', 'zbench' ), max( $paged, $page ) );
      	return $title;
      }
      add_filter( 'wp_title', 'zbench_wp_title' );

      改为:

      function zbench_wp_title($title) {
      	global $page, $paged;
      	if ( !is_feed() ) {
      		$title .= get_bloginfo( 'name' );
      		$site_description = get_bloginfo( 'description', 'display' );
      		if ( $site_description && ( is_home() || is_front_page() ) )
      			$title .= " | $site_description";
      		if ( $paged >= 2 || $page >= 2 )
      			$title .= ' | ' . sprintf( __( 'Page %s', 'zbench' ), max( $paged, $page ) );
      	}
      	return $title;
      }
      add_filter( 'wp_title', 'zbench_wp_title' );
    2. Jarett says:

      @zwwooooo
      我的意思不是在RSS中啦,是在网页中,比如标题变成了
      有一种黑客叫做工具党Jarett's Blog | Jarett'Blog
      这样出现了两次,经过你提醒到这个函数,我发现是这里:
      $title .= get_bloginfo( 'name' );
      我注释掉就OK啦,多谢提醒,抱歉对你的主题做了小修改哦!

    3. zwwooooo says:

      @Jarett
      竟然去掉主题作者链接,BS你一下。

    4. Jarett says:

      @zwwooooo
      明天回头一定加上!那时候也不知道你在这哟,表介样,么么哒

    5. zwwooooo says:

      @Jarett
      搞定就好。

    6. tntC4stl3 says:

      @zwwooooo
      重新回来看评论,照着作者提供的方法把我碰到的问题解决了, :smile:

  5. NeoXant says:

    你好, I see that Polish translation is broken. Something with charset (file is in UTF-8 which is good, but I think it was converted from different charset (e.g ISO 8859-2) and some chars are replaced by "?". I can repair this, but you must provide me e-mail address to which I can send repaired file (because I don't think that zwwblog[at]gmail.com is good for this topic).

    1. zwwooooo says:

      @NeoXant
      zwwblog[at]gmail.com is OK.

  6. fish says:

    @fish

    fish: 博主您好,感谢您的主题。
    我的情况是在有的分类目录下,侧边栏跑到下面去了,有的就很正常,好蛋疼。
    像这样:http://www.love67.net/?cat=9

  7. zwwooooo says:

    @fish
    主题被你的文章内容破坏了,检查你的文章内容(目前看起来好像是第一篇),文章内容里面不要随便插入<div>,如果一定要插入,注意闭合!

  8. oldcheetah says:

    抱歉打扰,
    zBench中博客名称和简介的字体在哪里调整?可视化编辑器样式表和第一个样式表有区别?

    1. zwwooooo says:

      @oldcheetah
      博客名称:style.css 大概87行修改 #header h1 a{...}
      简介:style.css 大概88行修改 #header h2{...}

  9. 这个zbench主题是自适应宽度的么?

  10. fish says:

    又得打扰您了,站长。
    我想请问一下这个zBench主题,我想将404界面添加一些公益广告。可是我修改404.php后,没有任何改变,这是怎么回事?

    1. zwwooooo says:

      @fish
      有些404页面是出现在index.php、archive.php、search.php这些文件。

  11. headwindx says:

    给力,zBench 出1.3.7了

    1. zwwooooo says:

      @headwindx
      简单更新下,国外朋友要求增加他们的语言包

  12. hel says:

    非常喜欢该主题,不过有个问题想咨询一下,就是该主题设置文章摘要后,不用插件和more怎样修改摘要的字数。谢谢您的主题!

    1. zwwooooo says:

      @hel
      打开 functions.php,找到如下函数

      //////// custom excerpt
      function zbench_excerpt_length( $length ) {
      return 40;
      }

      修改那个 40

    2. hel says:

      @hel
      非常感谢

  13. Jarett says:

    hello,我又来了,title现在被两次html转义了怎么破,变这个鸟样子,Jarett's Blog

    1. Jarett says:

      这样
      Jarett's Blog

    2. zwwooooo says:

      @Jarett
      貌似是wp函数转义的,不过我看你的博客标题正常啊

    3. Jarett says:

      还原了前一天的备份,确认是由于插件all in one seo 那个插件更新版本导致的。

  14. loren says:

    我使用 Yet Another Related Posts Plugin 这款插件,用其中的相关缩略图功能,但是发现图片出不来。ZBENCH不是有缩略图功能么?可以看一下 http://www.neoease.com/yet-another-related-posts-plugin/ 的推荐 :mrgreen:

    1. zwwooooo says:

      @loren
      zBench支持的是WP原生缩略图,如果你设置了“特色图片”,只是在首页/list页面会有显示,相关文章可不是WP原生功能。

  15. 你好
    Dear:
    I am using zBench with WordPress blogs in Arabic language.
    You can made these changes for the Arabic edition:
    1- On upper of post or page aria change (posted by), to the Arabic Translation (نشر بواسطة).
    2- Change the font to (Times new roman).
    3- Change (Older Posts) to (المنشور الاقدم),
    and (Newer Posts) to (المنشور الاحدث).
    4- leave the header image place with white color as the default background color.

    I hope you will make that for the Arabic edition, and if you need more help in Arabic translation, I will be happy to do that.

    Thank you.
    Abdulrazig Almansori
    Tobruk city - Libya

    1. zwwooooo says:

      @Abdulrazig Almansori
      "zBench" you are using a modified version of the official wordpress.com. I did not give the theme increase rtl.css, because I'm not particularly aware of. If I have time. I will be based on "http://codex.wordpress.org/Right_to_Left_Language_Support" to add rtl support.Will need your help translation.(Sorry for my poor English.)

  16. Shannon says:

    你好 I want to use zBench to my blog zwwooooo, do you have any updates that compatible with wp 3.8 ?

    thanks

  17. GloryWu says:

    博主,你好,想请教一个问题。我使用的是zBench这个主题。当我使用Markdown语法插入代码时,显示的代码会有黑色底纹,而在另一个在线Markdown编辑器里输入同样的内容则没有这个问题。我截了张图传到了Dropbox里,https://www.dropbox.com/s/fqs3e19mat6jzxg/code_wrong.png 你看看,是不是主题的问题?

    1. zwwooooo says:

      @GloryWu
      Markdown?WP什么时候支持Markdown的语法了?

    2. GloryWu says:

      @zwwooooo
      装的WP-Markdown插件

    3. zwwooooo says:

      @GloryWu
      只能说 WP-Markdown 插件兼容性问题吧,不过你可以尝试在 style.css 找到这样的:
      .entry code,
      .comment-text code{background:#333;color:#ddd;}
      你把 background:#333;color:#ddd; 这2个属性删了,我怀疑是插件插入了 code 标签(我没用过这个插件,猜的,你试试)。

    4. GloryWu says:

      @zwwooooo
      试过了,没什么用,还是有黑色的底色。不过还是谢谢你,我以后不用markdown语法插入代码就是了。

  18. Grapese Ed says:

    你好 I like to use zBench Theme, its an amazing Themes. Great to have this

  19. Cystc says:

    有没有办法禁用响应式排版,响应式排版在移动设备上图片不能等比例缩放,会变形

    1. zwwooooo says:

      @Cystc
      你把 style.css 里面的 @media 里面的代码全删了

  20. 这个主题太酷 现在才发现~

    1. zwwooooo says:

      @灰常记忆
      这主题很老了。。。

回复给 detective ¬
取消回复

昵称 *

网址

B em del U Link Code Quote